96
The NEW Manual Validation Task for Azure DevOps YAML Pipelines Demystified
With the newly released Manual Validation task you can pause a YAML pipeline mid-stage. This allows you to perform manual or offline activities and then resume (or reject) the run.
As I've mentioned, you can use this new task in a YAML pipeline to pause a run within a stage, typically to perform some manual actions or validations, and then resume/reject the run.
This is especially useful in scenarios where you want to pause a pipeline and validate configuration settings, build package, etc. before moving on to a long-running, compute-intensive job.
When the Manual validation task is activated during a pipeline, it displays a message bar containing a link that opens the Manual validation dialog containing the instructions. After carrying out the manual steps, the administrator or user can choose to resume the run or reject it.
Let's see this in action. We will cover how to configure Azure Pipelines to use it and how to use it.
Here you have the video with the whole demo and explanation.
Remember that, as I've mentioned in the video, you can use this new approach only in an agentless job of a YAML pipeline. If like in my example you have other jobs already, you would need to add a job with pool: server to make this work.
I wanna know what you think about this feature, so let me know in the comment section below.
Also, check this video over here, where I talk about the differences between Classic and YAML pipelines for both Build and Release.
Like, share and follow me π for more content:
π½ YouTube
β Buy me a coffee
π Patreon
π CoderDave.io Website
π Merch
π¦π» Facebook page
π±βπ» GitHub
π²π» Twitter
π΄π» LinkedIn
π Podcast
96