jenkinsci / jenkinsci/release-plugin

[JENKINS-12192] Jenkins Release Plugin does not honor Global MAVEN_OPTS

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
component:release-plugin imported-jira-issue priority:major resolution:unresolved
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


  • assignee: petehayes
  • status: Open
  • priority: Major
  • component(s): release-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 0
  • imported: 20251223-222157

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.