PowerShell

Jenkins PowerShell Plugin

Jenkins Plugins Jenkins Plugin installs Build Status javadoc

Provides Jenkins integration with PowerShell

Integrates with PowerShell by allowing you to directly write PowerShell scripts into the text box in Jenkins. Other than that, this plugin works pretty much like the standard shell script support.

Example

ScreenShot

FAQ

Changelog

Version 2.1 (2023-09-05)

Version 2.0 (2023-01-06)

Version 1.8 (2022-12-23)

Version 1.7 (2021-10-25)

Version 1.6 (2021-09-20)

Version 1.5 (2021-05-04)

Version 1.4 (2019-12-04)

  • Support for Linux PowerShell
  • Add $ErrorActionPreference = "Stop" to the top of each script before executing (JENKINS-36002)
  • Required Jenkins version: 2.138.4
  • Added codemirror mode text/x-csharp for command syntax highlighting
  • Support -NoProfile via checkbox

Version 1.3 (2015-09-18)

  • PowerShell now runs in Non-Interactive mode to prevent interactive prompts from hanging the build
  • PowerShell now runs with ExecutionPolicy set to "Bypass" to avoid execution policy issues
  • Scripts now exit with $LastExitCode, causing non-zero exit codes to mark a build as failed
  • Added help and list of available environment variables (including English and French translations)

Version 1.2 (2009-08-05)

  • Fixed a quotation problem.

Version 1.1 (2009-07-01)

  • Fixed a bug in the launch of PowerShell

Version 1.0 (2009-06-16)

  • Initial version