X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=374f5de81225f7f56ee556bf4fb1b97a0f60f6d6;hb=refs%2Fchanges%2F77%2F6977%2F1;hp=d56b25f6a7618668533198fca11615c4fbff13fc;hpb=8c159f91ad6c28b20fc1cf271915380d83ad2f80;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index d56b25f6..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}' @@ -320,6 +326,19 @@ https://www.python.org/dev/peps/pep-0440/ For example '<1.0.0' or '>=1.0.0,<2.0.0'. +- parameter: + name: lf-infra-node-parameters + # Parameters for NodeJS + parameters: + - string: + name: NODE_DIR + default: '{node-dir}' + description: Path to a Node project directory. + - string: + name: NODE_VERSION + default: '{node-version}' + description: Version of NodeJS to install. + - parameter: name: lf-infra-tox-parameters # Useful parameters when working with TOX