Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Unassigned
Attachments: changes.patch
Components: powershell
Created: 21/Nov/12 3:05 PM
Description:

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.

Project: Jenkins
Labels: plugin windows
Priority: Major Major
Reporter: Arjan Veenstra
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to