From cbccaab896302e15b1c7e91cfa76033b1be049ff Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Mon, 11 Sep 2017 10:28:37 -0400 Subject: [PATCH] add aritifactory server, node config Signed-off-by: Mike Marchetti --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) } -- 2.17.1