X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-stage.sh;h=a525c2cb4fb81129e198335742d3f9d226794fc7;hb=6eefde1f463638b5021c2ec96eb67a017d379f1f;hp=482b53f486faba656454fcb131e8e9a3209d05ee;hpb=a99cfe8b7c3e3b33cf9f210a90c50ea65128b30e;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index 482b53f4..a525c2cb 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -16,7 +16,9 @@ # $STAGING_PROFILE_ID : Provided by a job parameter. # Ensure we fail the job if any steps fail. -set -eu -o pipefail +set -xeu -o pipefail + +lftools_activate TMP_FILE="$(mktemp)" lftools deploy nexus-stage "$NEXUS_URL" "$STAGING_PROFILE_ID" "$WORKSPACE/m2repo" | tee "$TMP_FILE"