From 48e35f22ae44badb2812d7a6b0b047ce7e65f6bc Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Wed, 1 Apr 2015 14:31:27 +0200 Subject: [PATCH] Prepend variables in properties file with OPNFV Prevent variable clashes in case when they are sourced within Jenkins job by prepending all variables with OPNFV. JIRA: OCTO-26 Change-Id: Ia6c39ff5096dd15e7ce972314d78baa02473ea19 Signed-off-by: Fatih Degirmenci --- jjb/genesis/genesis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml index a987ff76b..2a53f7db3 100644 --- a/jjb/genesis/genesis.yml +++ b/jjb/genesis/genesis.yml @@ -301,11 +301,11 @@ # save information regarding artifact into file ( - echo "GIT_URL=$(git config --get remote.origin.url)" - echo "SHA1=$(git rev-parse HEAD)" - echo "ARTIFACT_URL=$GS_URL/opnfv-$BUILD_ID.iso" - echo "BUILD_URL=$BUILD_URL" - echo "BUILD=OK" + echo "OPNFV_GIT_URL=$(git config --get remote.origin.url)" + echo "OPNFV_GIT_SHA1=$(git rev-parse HEAD)" + echo "OPNFV_ARTIFACT_URL=$GS_URL/opnfv-$BUILD_ID.iso" + echo "OPNFV_BUILD_URL=$BUILD_URL" + echo "OPNFV_BUILD=OK" ) > opnfv-$BUILD_ID.properties # copy artifact property file as latest.properties -- 2.16.6