diff --git a/.azure-pipelines/official-build-vs-with-test.yml b/.azure-pipelines/official-build-vs-with-test.yml index 644f6106e1..3a1e271963 100644 --- a/.azure-pipelines/official-build-vs-with-test.yml +++ b/.azure-pipelines/official-build-vs-with-test.yml @@ -2,8 +2,9 @@ name: $(Build.DefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd) +# trigger this pipeline automatically by schedule. schedules: - - cron: "0 */8 * * *" # At 0 minutes past the hour, every 8 hours, every day UTC + - cron: "0 8 * * *" # At 08:00, every day UTC displayName: "Daily Build and Test SONiC virtual images" branches: include: @@ -13,7 +14,16 @@ schedules: - 202405 - 202411 -trigger: none +# trigger this pipeline automatically on any branch push. +trigger: + branches: + include: + - master + - 202305 + - 202311 + - 202405 + - 202411 + pr: none resources: