I have an azure-pipelines.yml
file with many jobs.
There are no dependsOn:
in the azure-pipelines.yml
file, so that the jobs can run in parallel.
If any job fails, I would like Azure to not start any queued jobs. I don't want to cancel any running jobs, nor cancel the whole pipeline.
I don't see a way to do this using a condition, but maybe I am missing something. Another possibility would be to have each job create a pipeline artifact file indicating its success or failure status, and then each job would look to see if any other job had failed. This seems to require starting the job, and I would prefer that the job not start at all.
Can you suggest a way to achieve my goal?