Created
June 8, 2017 07:27
-
-
Save ishu3101/0bdb1ec60a1371b07414bd0ab28f4227 to your computer and use it in GitHub Desktop.
Run PowerShell Command/Script from a .gitlab-ci.yml file on a gitlab.com using the Gitlab CI
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
image: philippheuer/docker-gitlab-powershell | |
test: | |
stage: test | |
script: | |
# run PowerShell script | |
- powershell -File build.ps1 | |
# run PowerShell Command | |
- powershell -Command "Get-Date" | |
how do I run this with a runner installed on my windows PC?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@aksimoNpriv yes. You can do it like this ..