add aritifactory server, node config
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
diff --git a/Jenkinsfile b/Jenkinsfile
index 6c9468f..82dde6b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -6,6 +6,8 @@
string(defaultValue: env.GERRIT_PATCHSET_REVISION, description: '', name: 'GERRIT_PATCHSET_REVISION'),
string(defaultValue: 'https://osm.etsi.org/gerrit', description: '', name: 'PROJECT_URL_PREFIX'),
booleanParam(defaultValue: false, description: '', name: 'TEST_INSTALL'),
+ string(defaultValue: 'artifactory-osm', description: '', name: 'ARTIFACTORY_SERVER'),
+ string(defaultValue: 'pipeline', description: '', name: 'NODE'),
])
])
@@ -15,7 +17,8 @@
}
}
-node {
+node("${params.NODE}") {
+
checkout scm
devops_checkout()
@@ -26,5 +29,6 @@
params.GERRIT_BRANCH,
params.GERRIT_REFSPEC,
params.GERRIT_PATCHSET_REVISION,
- params.TEST_INSTALL)
+ params.TEST_INSTALL,
+ params.ARTIFACTORY_SERVER)
}