Created
May 30, 2016 10:35
-
-
Save srgrn/0110b8455082e4cc1fac4a4dc7365aee to your computer and use it in GitHub Desktop.
Simple Jenkins Batch runner for powershell scripts - replace the scriptname.bat to the powershell script name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
PowerShell.exe -NoProfile -NonInteractive -ExecutionPolicy unrestricted -Command "& %~d0%~p0%~n0.ps1" %* | |
EXIT /B %errorlevel% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment