Make artifactory server configurable in Jenkins build
authorWesley Hirsch <wesley.hirsch@riftio.com>
Fri, 8 Sep 2017 21:37:53 +0000 (17:37 -0400)
committerWesley Hirsch <wesley.hirsch@riftio.com>
Fri, 8 Sep 2017 21:37:53 +0000 (17:37 -0400)
Change-Id: Ibb00e5dbbbc15fcc3f73a045ccb99ab666cbccd6
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
Jenkinsfile

index 85e99ab..853cc61 100644 (file)
@@ -6,6 +6,7 @@ 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: true, description: '', name: 'BUILD_SYSTEM'),
+        string(defaultValue: 'artifactory-osm', description: '', name: 'ARTIFACTORY_SERVER'),
     ])
 ])
 
@@ -26,5 +27,6 @@ node {
                            params.GERRIT_BRANCH,
                            params.GERRIT_REFSPEC,
                            params.GERRIT_PATCHSET_REVISION,
-                           params.BUILD_SYSTEM)
+                           params.BUILD_SYSTEM,
+                           params.ARTIFACTORY_SERVER)
 }