Hi all
Is it possible to queue PowerShell scripts in a deployment step in DevOps… so, if you have multiple deployments executing the script, if done at the same time it will fail – but done independent/ one after the other… it will succeed.
Hi all
Is it possible to queue PowerShell scripts in a deployment step in DevOps… so, if you have multiple deployments executing the script, if done at the same time it will fail – but done independent/ one after the other… it will succeed.
Hi,
well, I'm truly not an expert in DevOps or scripted deployments, but I guess your solution would consist of workflows and/or DSC (desired state configuration).
Please check here, if it is appropriate for you:
https://docs.microsoft.com/en-us/system-center/sma/overview-powershell-workflows?view=sc-sma-2019
I hope this helps somehow.
KR, Alex
Hi @AlexC-8264
Thanks for your input.
Well, what i`m looking for is if I have multiple deploys running in the same pipeline and are executing the same script, and if done at at the same time, it will fail.
So, the solution would be to have the deploys to be queue until X deploy is done running the script, and the operation that it would be doing... in my case, deleting a service in Azure.
I hope it makes sense :-)
10 people are following this question.