X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-build.sh;h=c00aa06fc1109229c7e84c5d6d632a2078219879;hb=6eefde1f463638b5021c2ec96eb67a017d379f1f;hp=6be1900ca7627d58576fbb7fae2344076cf317d1;hpb=b8931c8b558a1bb3d7b450c5bdc52e3f2e33a809;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-build.sh b/shell/maven-build.sh index 6be1900c..c00aa06f 100644 --- a/shell/maven-build.sh +++ b/shell/maven-build.sh @@ -14,14 +14,14 @@ # DO NOT enable -u because $MAVEN_PARAMS and $MAVEN_OPTIONS could be unbound. # Ensure we fail the job if any steps fail. -set -e -o pipefail +set -xe -o pipefail set +u export MAVEN_OPTS # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 -$MVN clean deploy \ +$MVN $MAVEN_GOALS \ -e \ --global-settings "$GLOBAL_SETTINGS_FILE" \ --settings "$SETTINGS_FILE" \