add aritifactory server, node config 59/2159/1
authorMike Marchetti <mmarchetti@sandvine.com>
Mon, 11 Sep 2017 14:28:37 +0000 (10:28 -0400)
committerMike Marchetti <mmarchetti@sandvine.com>
Mon, 11 Sep 2017 14:28:37 +0000 (10:28 -0400)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Jenkinsfile

index 6c9468f..82dde6b 100644 (file)
@@ -6,6 +6,8 @@ properties([
         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 @@ def devops_checkout() {
     }
 }
 
-node {
+node("${params.NODE}") {
+
     checkout scm
     devops_checkout()
 
@@ -26,5 +29,6 @@ node {
                            params.GERRIT_BRANCH,
                            params.GERRIT_REFSPEC,
                            params.GERRIT_PATCHSET_REVISION,
-                           params.TEST_INSTALL)
+                           params.TEST_INSTALL,
+                           params.ARTIFACTORY_SERVER)
 }