X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=374f5de81225f7f56ee556bf4fb1b97a0f60f6d6;hb=c43962c42241b189cf345171c13edb2bd0354238;hp=54a547dbd73759c2bcf6396cef7520e437651cd0;hpb=70dfd9dd45be0a505c1e55b8b46bc40f6c53709d;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 54a547db..374f5de8 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -229,6 +229,12 @@ - parameter: name: lf-infra-maven-parameters parameters: + - string: + name: M2_HOME + # Sets an env var for shell scripts to be able to call the dynamically + # installed maven without having to calculate the M2_HOME themselves. + default: '/w/tools/hudson.tasks.Maven_MavenInstallation/{mvn-version}' + description: 'Maven selector to be used by shell scripts' - string: name: MAVEN_OPTS default: '{mvn-opts}'