SharpeRAD / Cake.Powershell

Powershell addin for Cake
http://cakebuild.net
MIT License
83 stars 36 forks source link

Allow pipeline to be cancelled via cancellationtoken #79

Open sebastianslutzky opened 4 years ago

sebastianslutzky commented 4 years ago

Hi, I'm currently running multiple powershell tasks in parallel. I'd like to be able to stop them all if one of them fail. I am already cancelling the cancellationtoken but I'd need the PowershellRunner to listen to it and stop the running pipeline. The cancellationtoken can be passed via configuration....or maybe it is already available as a core functionality of Cake? thanks Sebastian