microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
26 stars 22 forks source link

Publish coverage on even with skipped builds #198

Closed kuqin12 closed 1 year ago

kuqin12 commented 1 year ago

Current pipeline job for publishing coverage will skip the jobs if there are a few jobs being skipped. However, some skips are expected, such as some jobs that should be run on selfhosted agents, but no agents are available on the public site.

This change will update the publish coverage job's condition to ignore the skipped conditions, such that it will always run the job as long as there the previous job(s) not failing or being cancelled.

kuqin12 commented 1 year ago

Example runs here: Succeeded: https://dev.azure.com/projectmu/mu/_build/results?buildId=48570&view=results Cancelled: https://dev.azure.com/projectmu/mu/_build/results?buildId=48575&view=results