Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: managed-scripts-plugin
-
Labels:None
-
Environment:Windows Server 2012, .NET, PowerShell
-
Similar Issues:
Description
Is it possible to add support for PowerShell files in the Managed Script plugin.
I have a paramaterized Powershell script that I find needing to copy and past onto different nodes so different jobs can access it.
I see this plugin being beneficial to beable to create it once and then call the step in different jobs. It would even be better if it could pull the latest script from SCM like git.
Code changed in jenkins
User: Arnaud Tamaillon
Path:
src/main/java/org/jenkinsci/plugins/managedscripts/PowerShellBuildStep.java
src/main/java/org/jenkinsci/plugins/managedscripts/PowerShellConfig.java
src/main/resources/org/jenkinsci/plugins/managedscripts/Messages.properties
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellBuildStep/config.jelly
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellBuildStep/help.html
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellConfig/PowerShellConfigProvider/newInstanceDetail.jelly
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellConfig/PowerShellConfigProvider/newInstanceDetail.properties
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellConfig/edit-config.jelly
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellConfig/edit-config.properties
src/main/resources/org/jenkinsci/plugins/managedscripts/PowerShellConfig/show-config.jelly
src/main/webapp/help-defineArgs_powershell.html
http://jenkins-ci.org/commit/managed-scripts-plugin/cebf39c9384adac1f606370c1a0178782898f447
Log:
[FIXED JENKINS-25079] Add support for Managed PowerShell files