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>
# 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