Hello @Psychotechnopath , Thanks for the question and using MS Q&A platform.
As I understand, you are confused on the conditions for pipeline overall success / failure. You assert the inner pipeline succeeds. Could you please go to the monitoring tab and check the pipeline runs? This does not match my experience.
In my experience, when execution reaches an activity with an on-success dependency coming out of it, and that path is not taken, then the pipeline status is failure. Example:
So, to avoid the success dependency from making the pipeline status come out as fail, I replace the success with 2 dependencies, an on-completion where the success used to be, and an on-skipped dependency from the on-failure dependency's activity. Image below.
The logic here, is that the success activity only executes when the preceding activity complete (no matter success or failure) AND the failure branch is NOT run. The failure branch does not run when the preceding activity succeeds.
Please do let me if you have any queries.
Thanks Martin
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators