Clone from https://github.com/wooseung-sim/go-powershell-task-plugin

Woo Seung Sim 2fc1761137 Removed private maven repository 7 роки тому
doc 70233c5be8 Upload README doc 7 роки тому
gradle 046899bfeb Initial commit to create project 7 роки тому
resource-templates ffe716d19a Project creation 7 роки тому
src ffe716d19a Project creation 7 роки тому
.gitignore 046899bfeb Initial commit to create project 7 роки тому
README.md 70233c5be8 Upload README doc 7 роки тому
build.gradle 2fc1761137 Removed private maven repository 7 роки тому
gradle.properties ffe716d19a Project creation 7 роки тому
gradlew 046899bfeb Initial commit to create project 7 роки тому
gradlew.bat 046899bfeb Initial commit to create project 7 роки тому
settings.gradle ffe716d19a Project creation 7 роки тому

README.md

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