X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-fetch-metadata.sh;h=26b2c96e19560700fc88cc5109525bc7f21d485a;hb=18bb0a40f9ba00fd8417b32fbde9593b6d968c53;hp=d3670d067ff4af46ddb4b57d38395176a159fdc2;hpb=92c2494543e0e66bfe8cd636efdf8cc618a03b62;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-fetch-metadata.sh b/shell/maven-fetch-metadata.sh index d3670d06..26b2c96e 100644 --- a/shell/maven-fetch-metadata.sh +++ b/shell/maven-fetch-metadata.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -12,7 +12,7 @@ # Uses wget to fetch a project's maven-metadata.xml files from a Maven repository. # Ensure we fail the job if any steps fail. -set -eu -o pipefail +set -xeu -o pipefail project=$(xmlstarlet sel \ -N "x=http://maven.apache.org/POM/4.0.0" -t \