Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Chore: Upgrade global-jjb to latest, v0.83.2
[ci-management.git]
/
jjb
/
shell
/
make-tar.sh
diff --git
a/jjb/shell/make-tar.sh
b/jjb/shell/make-tar.sh
index
43e5693
..
adc830d
100644
(file)
--- a/
jjb/shell/make-tar.sh
+++ b/
jjb/shell/make-tar.sh
@@
-20,7
+20,8
@@
dos2unix "${WORKSPACE}/version.properties"
source "$WORKSPACE/version.properties"
TARDIR=$UPLOAD_FILES_PATH
source "$WORKSPACE/version.properties"
TARDIR=$UPLOAD_FILES_PATH
-set -e -u -x -o pipefail
+# STAGING_BUILD (below) may be unset
+set -e +u -x -o pipefail
rm -fr "$TARDIR"
if [ -n "$STAGING_BUILD" ]
rm -fr "$TARDIR"
if [ -n "$STAGING_BUILD" ]
@@
-32,6
+33,9
@@
else
[[ ! "$VERSION" =~ -SNAPSHOT$ ]] && VERSION="${VERSION}-SNAPSHOT"
fi
[[ ! "$VERSION" =~ -SNAPSHOT$ ]] && VERSION="${VERSION}-SNAPSHOT"
fi
+# STAGING_BUILD not used past this point
+set -u
+
if [ "$PROJECT" == "addon-onap" ]
then
if [ "$PROJECT" == "addon-onap" ]
then