X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-build.sh;h=1f6195469366fc30a9327b447a53c94673e8be2e;hb=18bb0a40f9ba00fd8417b32fbde9593b6d968c53;hp=a807a03ac66de84174dc7c6ac7c524676bfc04c7;hpb=5fa5b9907684b63824352a353d31365e95cfbca3;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-build.sh b/shell/maven-build.sh index a807a03a..1f619546 100644 --- a/shell/maven-build.sh +++ b/shell/maven-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -21,7 +21,7 @@ export MAVEN_OPTS # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 -$MVN clean deploy \ +$MVN $MAVEN_GOALS \ -e \ --global-settings "$GLOBAL_SETTINGS_FILE" \ --settings "$SETTINGS_FILE" \