summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-04-01 14:31:27 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-04-01 14:31:27 +0200
commit48e35f22ae44badb2812d7a6b0b047ce7e65f6bc (patch)
tree177d077c98a576849a0ce0bbc1636db5ff081506
parenta94d9b7a026ca5ca2808a08491d35e8892a12329 (diff)
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 <fatih.degirmenci@ericsson.com>
-rw-r--r--jjb/genesis/genesis.yml10
1 files 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