summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-build.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-20 19:29:36 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-20 19:35:32 +0100
commitd28b82801733def01a14f5d97c6bb9a1e7340a9e (patch)
treeab3dd0f4ef2c0f3f9e37d91bf9ba15c8768b7b28 /jjb/fuel/fuel-build.sh
parentc21e64ac3e342f820ad31ba264d8b7c93b3cd91f (diff)
Fix the bug while setting OPNFV_ARTIFACT_VERSION
JIRA: RELENG-56 Change-Id: I98ec9be78b6858002edbd826be5fcca0281c05cb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-build.sh')
-rwxr-xr-xjjb/fuel/fuel-build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/fuel/fuel-build.sh b/jjb/fuel/fuel-build.sh
index 7b1d8510e..cffd8673b 100755
--- a/jjb/fuel/fuel-build.sh
+++ b/jjb/fuel/fuel-build.sh
@@ -14,9 +14,9 @@ echo
# set OPNFV_ARTIFACT_VERSION
if [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Building Fuel ISO for a merged change"
- OPNFV_ARTIFACT_VERSION=$(gerrit-$GERRIT_CHANGE_NUMBER)
+ export OPNFV_ARTIFACT_VERSION="gerrit-$GERRIT_CHANGE_NUMBER"
else
- OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
+ export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
fi
# start the build