This commit is contained in:
Родитель
4560862966
Коммит
20318fe15a
|
@ -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
|
# 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 = @()
|
[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")) ) {
|
if ($buildReason -eq "PullRequest" -or (($buildReason -eq "Manual") -and ($buildSourceBranchName -eq "merge")) ) {
|
||||||
Write-Host "Configuring build from PR."
|
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
|
# This is an interesting step, we do know we are dealing with a PR, but we need the PR id to
|
||||||
|
|
Загрузка…
Ссылка в новой задаче