X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-deploy-maven-site.sh;h=bddcbe668c269b7524b0ebe9595e71e1e11f6118;hb=f927241d5e28c2ded8f98f4e35ede4344be2dc5b;hp=6664532ceb46319a63d4508c64cf93d3654dbc5b;hpb=68fc9a6ba7d4757985c5e2256eb879c8e07b5c00;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-deploy-maven-site.sh b/jjb/opendaylight-infra-deploy-maven-site.sh index 6664532ce..bddcbe668 100644 --- a/jjb/opendaylight-infra-deploy-maven-site.sh +++ b/jjb/opendaylight-infra-deploy-maven-site.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# @License EPL-1.0 +#!/bin/sh +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -10,8 +10,14 @@ ############################################################################## # Ensure we fail the job if any steps fail. +# shellcheck disable=SC2039,SC3040 set -eu -o pipefail +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3 lftools + MAVEN_GROUP_ID=$(xmlstarlet sel \ -N "x=http://maven.apache.org/POM/4.0.0" \ -t \