summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-upload-artifact.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/fuel/fuel-upload-artifact.sh')
-rwxr-xr-xjjb/fuel/fuel-upload-artifact.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-upload-artifact.sh b/jjb/fuel/fuel-upload-artifact.sh
index 5d3fed60b..fc350235e 100755
--- a/jjb/fuel/fuel-upload-artifact.sh
+++ b/jjb/fuel/fuel-upload-artifact.sh
@@ -3,6 +3,13 @@ set -o errexit
set -o nounset
set -o pipefail
+# check if we built something
+if [ -f $WORKSPSACE/.noupload ]; then
+ echo "Nothing new to upload. Exiting."
+ /bin/rm -f $WORKSPSACE/.noupload
+ exit 0
+fi
+
# log info to console
echo "Uploading the $INSTALLER_TYPE artifact. This could take some time..."
echo "--------------------------------------------------------"