-
New Feature
-
Resolution: Unresolved
-
Major
Rather than
withEnv(["PATH=${tool 'Maven 3.2.2'}/bin:${env.PATH}"]) {sh 'mvn package'}
you should be able to say
withTool('Maven 3.2.2') {sh 'mvn package'}
where this code builds the environment variables within the block.
- is duplicated by
-
JENKINS-43769 Add tokens for tool installations managed by Jenkins
- Resolved
- is related to
-
JENKINS-33966 JAVA_HOME is not set when Maven is automatically installed
- Resolved
-
JENKINS-26057 Workflow build step for Maven
- Closed
-
JENKINS-30372 Workflow step that is a platform-neutral alternative for bat and sh
- Closed
-
JENKINS-35419 Allow tools to be installed automatically without global configuration
- Open
- relates to
-
JENKINS-32000 durable-task 1.7 breaks workflow bat steps
- Open
-
JENKINS-42382 AntInstallation not setting PATH+ANT
- Resolved
-
JENKINS-42381 GradleInstallation not setting PATH+GRADLE
- Closed