Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12192

Jenkins Release Plugin does not honor Global MAVEN_OPTS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • release-plugin
    • None

      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"

            petehayes Peter Hayes
            patrickcrocker Patrick Crocker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: