Go to file
2017-05-23 09:26:02 -04:00
doc Upload README doc 2017-05-23 09:22:07 -04:00
gradle/wrapper Initial commit to create project 2017-05-23 09:03:42 -04:00
resource-templates Project creation 2017-05-23 09:26:02 -04:00
src/main Project creation 2017-05-23 09:26:02 -04:00
.gitignore Initial commit to create project 2017-05-23 09:03:42 -04:00
build.gradle Project creation 2017-05-23 09:26:02 -04:00
gradle.properties Project creation 2017-05-23 09:26:02 -04:00
gradlew Initial commit to create project 2017-05-23 09:03:42 -04:00
gradlew.bat Initial commit to create project 2017-05-23 09:03:42 -04:00
README.md Upload README doc 2017-05-23 09:22:07 -04:00
settings.gradle Project creation 2017-05-23 09:26:02 -04:00

GoCD PowerShell script execution plug-in

A GoCD plugin that executes PowerShell Script

Introduction

This is a task plug-in plugin for GoCD to execute PowerShell script on GoCD agent

Installation

Just drop task.powershell.(version).jar into plugins/external directory and restart GoCD. More details here

Task Configuration

Error Action Preference

Define error action preference for script execution. It will inject following script into head of script content:

$script:ErrorActionPreference = [System.Management.Automation.ActionPreference]::<Stop/SilentlyContinue/Continue/Ignore...>

Script

Content of script to execute. Content in this text area will be created as temporary PowerShell script file, and then be executed.

CPU Architecture

CPU Architecture to run Powershell command