Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27820

Support adding Windows PowerShell build steps

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • 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.

            daspilker Daniel Spilker
            marksyms Mark Syms
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: