Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "fuel: Set friendly display name for OPNFV Platform CI jobs"
[releng.git]
/
jjb
/
fuel
/
fuel-upload-artifact.sh
diff --git
a/jjb/fuel/fuel-upload-artifact.sh
b/jjb/fuel/fuel-upload-artifact.sh
index
5d3fed6
..
fa695e6
100755
(executable)
--- 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
set -o nounset
set -o pipefail
+# check if we built something
+if [ -f $WORKSPACE/.noupload ]; then
+ echo "Nothing new to upload. Exiting."
+ /bin/rm -f $WORKSPACE/.noupload
+ exit 0
+fi
+
# log info to console
echo "Uploading the $INSTALLER_TYPE artifact. This could take some time..."
echo "--------------------------------------------------------"
# log info to console
echo "Uploading the $INSTALLER_TYPE artifact. This could take some time..."
echo "--------------------------------------------------------"