sonic-buildimage/.azure-pipelines
Ye Jianquan 8e7a491f3b Enable to cancel pipeline jobs during checkout code and tests (#12436)
co-authorized by: jianquanye@microsoft.com

Why I did it
Now, checkout code step and KVM test job can't be cancelled even though the whole build is cancelled.
That's because by using Azure Pipeline Conditions, we customized the running condition, and we need to react to the Cancel action explicitly by asserting 'succeeded'
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#succeeded
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml#ive-got-a-conditional-step-that-runs-even-when-a-job-is-canceled-how-do-i-manage-to-cancel-all-jobs-at-once

How I did it
Assert 'succeeded' condition explicitly.

How to verify it
Verified by cancelling and rerunning the azure pipeline.
2022-10-19 18:53:40 +00:00
..
azure-pipelines-build.yml [build] Add version files to docker image dependencies (#11192) 2022-06-21 20:28:50 +08:00
azure-pipelines-download-certificate.yml [Ci]: Support to sign image for cisco-8000 uefi secure boot (#10616) 2022-04-21 22:00:47 +00:00
azure-pipelines-image-template.yml Enable to cancel pipeline jobs during checkout code and tests (#12436) 2022-10-19 18:53:40 +00:00
azure-pipelines-job-groups.yml [ci]: increase official build to 12 hours 2021-05-05 07:11:59 -07:00
azure-pipelines-Official.yml Add azure pipelines for reproducible build (#6870) 2021-02-28 17:45:18 -08:00
azure-pipelines-UpgrateVersion.yml [ci] Update azp reference to support transfering organization from Azure to sonic-net (#11605) 2022-08-02 16:22:26 +08:00
build-commonlib.yml [ci] Update azp reference to support transfering organization from Azure to sonic-net (#11605) 2022-08-02 16:22:26 +08:00
build-template.yml [CI] Add azure pipeline file for official build 2021-04-25 11:35:57 -07:00
check-dirty-version.yml [Ci]: check if there is a sonic dirty version issue (#10445) 2022-04-11 23:10:06 +00:00
cleanup.yml [CI] Add azure pipeline file for official build 2021-04-25 11:35:57 -07:00
docker-sonic-mgmt.yml [CI] Add Bldenv pipeline files (#7458) 2021-05-05 07:30:39 -07:00
docker-sonic-slave.yml [ci] Update docker sonic slave pipeline to build slave base docker (#11908) (#12405) 2022-10-18 13:53:43 +08:00
dpkg-cache-cleanup.yml [CI] Add Bldenv pipeline files (#7458) 2021-05-05 07:30:39 -07:00
official-build-cisco-8000.yml [ci] Fix some not sai package removed issue (#11544) 2022-07-27 23:28:15 +00:00
official-build.yml [ci] Update azp reference to support transfering organization from Azure to sonic-net (#11605) 2022-08-02 16:22:26 +08:00
run-test-template.yml [202012][prtest] use matching sonic-mgmt branch for 202012 branch PR tests (#11575) 2022-07-29 11:09:12 -07:00
template-clean-sonic-slave.yml Revert "[ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#10341)" (#10535) 2022-04-11 23:53:42 -07:00
template-commonlib.yml [ci] Add arm artifacts in common lib azure pipeline (#10892) 2022-06-03 12:20:49 +08:00
template-skipvstest.yml [build] Add version files to docker image dependencies (#11192) 2022-06-21 20:28:50 +08:00
trigger-publish-artifacts-build.yml [Ci]: Fix to trigger the publish pipeline in failure build issue (#10847) 2022-05-24 23:14:29 +00:00
vstest-exclude [build] Add version files to docker image dependencies (#11192) 2022-06-21 20:28:50 +08:00
vstest-include [build] Add version files to docker image dependencies (#11192) 2022-06-21 20:28:50 +08:00