jenkinsci / jenkinsci/release-plugin
[JENKINS-12192] Jenkins Release Plugin does not honor Global MAVEN_OPTS
- Dominant language
- Java
- Stars
- 24
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
The Jenkins Release Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin) does not honor the Global MAVEN_OPTS specified in the 'Manage Jenkins -> Configure System' section.
As a work-around, I have had to add add the MAVEN_OPTS to the Goals of the release build:
--batch-mode release:prepare -DreleaseVersion=${RELEASE_VERSION} -DdevelopmentVersion=${DEVELOPMENT_VERSION} -Djavax.net.ssl.trustStore="/path/to/jenkins/truststore.jks"
---
Originally reported by patrickcrocker, imported from: Jenkins Release Plugin does not honor Global MAVEN_OPTS
petehayes
Raw content of original issue
The Jenkins Release Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin) does not honor the Global MAVEN_OPTS specified in the 'Manage Jenkins -> Configure System' section.
As a work-around, I have had to add add the MAVEN_OPTS to the Goals of the release build:
--batch-mode release:prepare -DreleaseVersion=${RELEASE_VERSION} -DdevelopmentVersion=${DEVELOPMENT_VERSION} -Djavax.net.ssl.trustStore="/path/to/jenkins/truststore.jks"
Contributor guide
Assessment
This issue has not been assessed yet.