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

MAVEN_OPTS is removed from agents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core

      Since last LTS upgrade (2.346.1), environment variable MAVEN_OPTS is removed from node environment.

      ==> If I print environment variables in the job, MAVEN_OPTS does not exists.

      I tried to declare MAVEN_OPTS as a global variable, or as a node environment variable,

       

      The only way I found to apply MAVEN_OPTS for now is to declare it in the node OS (Windows). I would rather manage the settings centralized in jenkins, and if possible having the opportunity to declare them by node (to differentiate windows/unix settings)

      It was working OK in the previous version (using MAVEN_OPTS in the node environment variables)

            Unassigned Unassigned
            jul13nc Jul13nc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: