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

AbstractBuild.getEnvironment does not set EnvVars.platform and breaks EnvVars.override

    Details

    • Similar Issues:

      Description

      Hi,
      Since 1.472, calling AbstractBuild.getEnvironment(TaskListener) returns a EnvVars with EnvVars.platform unset.
      Since EnvVars.override uses EnvVars.platform (and default to UNIX style PATH separator if EnvVars.platform is null), it does not work anymore for Windows slaves.
      Thanks!

        Attachments

          Issue Links

            Activity

            mansion Olivier Mansion created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-16176 [ JENKINS-16176 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 145508 ] JNJira + In-Review [ 176369 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels lts-candidate
            olivergondza Oliver Gond┼ża made changes -
            Labels lts-candidate 2.60.3-fixed
            nfalco Nikolas Falco made changes -
            Link This issue is duplicated by JENKINS-49673 [ JENKINS-49673 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                mansion Olivier Mansion
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: