From: Mike Marchetti Date: Mon, 11 Sep 2017 14:28:37 +0000 (-0400) Subject: add aritifactory server, node config X-Git-Tag: v3.0.0rc~1 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fopenvim.git;a=commitdiff_plain;h=cbccaab896302e15b1c7e91cfa76033b1be049ff add aritifactory server, node config Signed-off-by: Mike Marchetti --- diff --git a/Jenkinsfile b/Jenkinsfile index 6c9468f..82dde6b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) }