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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • 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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: