X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=6e213e4a204293e0bd94c78b29fc4905daa05c4f;hb=410c98d801fccf6fb097603dc39b31f47165660c;hp=562168ac03d7ee28d5baaaa1de43faa8b66aac8a;hpb=391e8138f528a720604ed9da7bda949b5e56fbec;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 562168ac..6e213e4a 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -184,6 +184,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}'