From 1d27ed490a49671040d439b84a83a55d0f68c883 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Fri, 21 Sep 2018 16:01:11 -0400 Subject: [PATCH] Use release dir for artifact upload Change-Id: I1ba89d80e65f4d7aec58c825004f89cda632067f Signed-off-by: Mike Marchetti --- jenkins/ci-pipelines/ci_stage_3.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index a788f7bd..1d1527cd 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -152,6 +152,7 @@ node("${params.NODE}") { rm -f changelog/changelog-osm.html [ ! -d changelog ] || for mdgchange in \$(ls changelog); do cat changelog/\$mdgchange >> changelog/changelog-osm.html; done """ + RELEASE_DIR = sh(returnStdout:true, script: 'pwd').trim() } // start an apache server to serve up the images http_server_name = "${container_name}-apache" @@ -257,7 +258,7 @@ node("${params.NODE}") { archiveArtifacts artifacts: "build_version.txt", fingerprint: true // Archive the tested repo - dir("repo/${RELEASE}") { + dir("${RELEASE_DIR}") { ci_helper.archive(params.ARTIFACTORY_SERVER,RELEASE,GERRIT_BRANCH,'tested') } } -- 2.25.1