Has anyone been able to connect to powershell via bitbucket pipelines? I have some simple SharePoint code that I house in my bitbucket repo and would like to start deploying those updates via pipelines.
I'm unable to find any documentation on this and was wondering if anyone else has had any experience doing this.
Not much here, but this is what I have so far...
definitions:
services:
docker:
memory: 2048
steps:
- step: &connect-to-powershell
name: Connect to Powershell
image: mcr.microsoft.com/powershell
script:
- CMD [ "Connect-SPOService", "-Url", $psURL ]
pipelines:
branches:
master:
- step: *connect-to-powershell
...and this is the error message I recieve.
<span><br>bash: CMD: command not found</span><span>+ CMD [ "Connect-SPOService", "-Url", $psURL ]</span>
Any help or guidance here would be greatly apprecaited.
Thank you!