diff --git a/tools/devops/automation/templates/build/configure.yml b/tools/devops/automation/templates/build/configure.yml index 4cbdd27a47..563080676b 100644 --- a/tools/devops/automation/templates/build/configure.yml +++ b/tools/devops/automation/templates/build/configure.yml @@ -21,6 +21,10 @@ steps: # the following list will be used to track the tags and set them in VSTS to make the monitoring person life easier [System.Collections.Generic.List[string]]$tags = @() + if ($buildReason -eq "Schedule") { + $tags.Add("cronjob") + } + if ($buildReason -eq "PullRequest" -or (($buildReason -eq "Manual") -and ($buildSourceBranchName -eq "merge")) ) { Write-Host "Configuring build from PR." # This is an interesting step, we do know we are dealing with a PR, but we need the PR id to