summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-build.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-22 01:43:40 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-22 01:43:40 +0100
commit106ffc63482d1c739435e79cbaf352d9cd6e16c3 (patch)
treedb8fed1392dd57564fbf77582c612f222f92f107 /jjb/fuel/fuel-build.sh
parentf5366718fd0847cbaa6bcd1bede2886d9fdb3468 (diff)
Skip artifact upload if nothing new is built
Change-Id: I966229199d07c44073247ae25e9423fda516f73d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-build.sh')
-rwxr-xr-xjjb/fuel/fuel-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-build.sh b/jjb/fuel/fuel-build.sh
index be188b87a..6ccfb6f0e 100755
--- a/jjb/fuel/fuel-build.sh
+++ b/jjb/fuel/fuel-build.sh
@@ -23,6 +23,7 @@ if [[ "$CURRENT_SHA1" == "$LATEST_ISO_SHA1" ]]; then
echo "An ISO has already been built for this commit"
echo " $LATEST_ISO_URL"
echo "Nothing new to build. Exiting."
+ touch $WORKSPACE/.noupload
exit 0
else
echo "This commit has not been built yet. Proceeding with the build."