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

freestyle projects doesn't support global MAVEN_OPTS

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      hudson 1.342
      -----
      still present in:
      Jenkins: 2.107.3 LTS
      maven-plugin: 3.1.2
    • Similar Issues:

      Description

      When we define some global MAVEN_OPTS in hudson config, freestyle jobs using maven doesn't take care of this value (they are using jvm options and not maven options)

        Attachments

          Issue Links

            Activity

            Hide
            adamvoss Adam Voss added a comment -

            Pipeline projects are also affected.  MAVEN_OPTS is not actually set on `env` to reflect the setting.

            Show
            adamvoss Adam Voss added a comment - Pipeline projects are also affected.  MAVEN_OPTS is not actually set on `env` to reflect the setting.

              People

              • Assignee:
                Unassigned
                Reporter:
                aheritier Arnaud Héritier
              • Votes:
                14 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated: