-
Improvement
-
Resolution: Fixed
-
Major
-
PowerShell Plugin 1.2
The current version of the PowerShell Plugin hosted as a Jenkins addon does not ByPass the local execution policy of the machine.
Code from the module:
// PowerShell.java protected String getFileExtension() { return ".ps1"; } protected String[] buildCommandLine(FilePath script) { return new String[] { "powershell.exe","& \'"+script.getRemote()+"\'"}; } protected String getContents() { return command; }
This has been fixed in the GitHub Repo (https://github.com/jenkinsci/powershell-plugin/blob/master/src/main/java/hudson/plugins/powershell/PowerShell.java#L27), but needs to be pushed into the hosted addons section.
[JENKINS-28838] PowerShell Plugin Should bypass system execution policy
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 163698 ] | New: JNJira + In-Review [ 208868 ] |