# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
+echo "---> create-netrc.sh"
+
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
NEXUS_URL="${NEXUS_URL:-$NEXUSPROXY}"
CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \
##############################################################################
echo "---> jjb-install.sh"
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
+
virtualenv "$WORKSPACE/.virtualenvs/jjb"
# shellcheck source=./.virtualenvs/jjb/bin/activate disable=SC1091
source "$WORKSPACE/.virtualenvs/jjb/bin/activate"
##############################################################################
echo "---> jjb-merge-job.sh"
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
+
jenkins-jobs update --recursive --delete-old --workers 4 jjb/
##############################################################################
echo "---> jjb-verify-job.sh"
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
+
jenkins-jobs -l DEBUG test --recursive -o archives/job-configs jjb/
# Sort job output into sub-directories. On large Jenkins systems that have
##############################################################################
echo "---> lftools-install.sh"
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
+
virtualenv "$WORKSPACE/.virtualenvs/lftools"
# shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091
source "$WORKSPACE/.virtualenvs/lftools/bin/activate"
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
+echo "---> logs-deploy.sh"
+
+# Ensure we fail the job if any steps fail.
+set -eu -o pipefail
set -x # Trace commands for this script to make debugging easier.