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

[PATCH] Powershell improvements

XMLWordPrintable

      The attached patch fixes two issues with the powershell plugin:

      • The build now fails when the script has parse errors, which it the current version doesn't do. (Because powershell.exe doesn't exits with 0 on parse errors.)
      • It avoids ExecutionPolicy errors with the default ExecutionPolicy in place.

      The changes do mean it depends om PowerShell v2, I assume (but didn't test) it will fail with PowerShell v1. But I doubt anyone considers this an issue.

      I also made the plugin depend on Jenkins 1.450 because as is it didn't build with JDK 7.

        1. changes.patch
          2 kB
          Arjan Veenstra
        2. powershell.hpi
          7 kB
          Arjan Veenstra

            Unassigned Unassigned
            avee Arjan Veenstra
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: