-
Improvement
-
Resolution: Fixed
-
Major
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.
[JENKINS-15890] [PATCH] Powershell improvements
Attachment | New: powershell.hpi [ 22853 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
The plugin build with these changes, in case anyone dares to run plugins from an untrusted source.