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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      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!

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

              Created:
              Updated:
              Resolved: