X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=5480f03128202da3ef9ef782f059b2d0289019b5;hb=f1d2d262e4e1b095c2d2c577c042404f1f3d4e1c;hp=562168ac03d7ee28d5baaaa1de43faa8b66aac8a;hpb=391e8138f528a720604ed9da7bda949b5e56fbec;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 562168ac..5480f031 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}' @@ -429,3 +435,7 @@ - '{jenkins-ssh-credential}' - openstack: single-use: true + - config-file-provider: + files: + - file-id: npmrc + target: '$HOME/.npmrc'