X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-deploy-maven-site.sh;h=bddcbe668c269b7524b0ebe9595e71e1e11f6118;hb=8e57e8a94e2f0e4a183b15c0b3aa61daa465991e;hp=6664532ceb46319a63d4508c64cf93d3654dbc5b;hpb=127a3833e66cb7daae10a98078b2ee75303191aa;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 \