-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Operating System: Windows
For Windows build slaves it would be good to support PowerShell build steps, these are essentially identical to BatchFile but execute in PowerShell instead of cmd.
hudson.plugins.powershell.PowerShell plugin="powershell@1.2">
<command>
PowerShell script commands here
</command>
</hudson.plugins.powershell.PowerShell>
I have an implementation, a pull request will be following.
- is duplicated by
-
JENKINS-27811 Support Windows PowerShell build steps
-
- Closed
-
-
JENKINS-27814 Support Windows PowerShell build steps
-
- Closed
-
Code changed in jenkins
User: Mark Syms
Path:
docs/Job-reference.md
job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/step/StepContext.groovy
job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/step/StepContextSpec.groovy
http://jenkins-ci.org/commit/job-dsl-plugin/ef79f2970dd0ea59bce2a820d431e5efa5f57944
Log:
Add support for PowerShell build step in response to
JENKINS-27820