Skip to content

Commit 6d8b9d1

Browse files
[CI] Add a tag to identify those auto-scheduled builds. fixes #11191 (#11209)
Co-authored-by: Manuel de la Pena <[email protected]>
1 parent 3476318 commit 6d8b9d1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/devops/automation/templates/build/configure.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ steps:
2121
# the following list will be used to track the tags and set them in VSTS to make the monitoring person life easier
2222
[System.Collections.Generic.List[string]]$tags = @()
2323
24+
if ($buildReason -eq "Schedule") {
25+
$tags.Add("cronjob")
26+
}
27+
2428
if ($buildReason -eq "PullRequest" -or (($buildReason -eq "Manual") -and ($buildSourceBranchName -eq "merge")) ) {
2529
Write-Host "Configuring build from PR."
2630
# This is an interesting step, we do know we are dealing with a PR, but we need the PR id to

0 commit comments

Comments
 (0)