Skip to content

Instantly share code, notes, and snippets.

@ishu3101
Created June 8, 2017 07:27
Show Gist options
  • Save ishu3101/0bdb1ec60a1371b07414bd0ab28f4227 to your computer and use it in GitHub Desktop.
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
image: philippheuer/docker-gitlab-powershell
test:
stage: test
script:
# run PowerShell script
- powershell -File build.ps1
# run PowerShell Command
- powershell -Command "Get-Date"
@abohnenberger
Copy link

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