90
90
# get commit details, if this is a PR
91
91
if($env:System_PullRequest_PullRequestId -ne $null)
92
92
{
93
- Write-Host "##[command] **This is a PR build**"
93
+ Write-Host "**This is a PR build**"
94
94
95
95
# compute authorization header in format "AUTHORIZATION: basic 'encoded token'"
96
96
# 'encoded token' is the Base64 of the string "nfbot:personal-token"
@@ -100,7 +100,7 @@ jobs:
100
100
101
101
if( ($commit.commit.author.name -eq "nfbot") -and ($commit.commit.message -like "*[version update]*") )
102
102
{
103
- Write-Host "##[command] **version update commit, skipping build**"
103
+ Write-Host "**version update commit, skipping build**"
104
104
echo "##vso[task.setvariable variable=SKIP_BUILD;isOutput=true]true"
105
105
}
106
106
else
@@ -109,12 +109,12 @@ jobs:
109
109
}
110
110
111
111
# find PR
112
- "Getting PR#$env:System_PullRequest_PullRequestNumber details..." | Write-Host -ForegroundColor White -NoNewline
112
+ "Getting PR #$env:System_PullRequest_PullRequestNumber details..." | Write-Host -ForegroundColor White -NoNewline
113
113
$pr = Invoke-WebRequest "https://api.github.com/repos/$env:Build_Repository_Name/pulls/$env:System_PullRequest_PullRequestNumber" | ConvertFrom-Json
114
114
115
115
if($($pr.number) -eq "$env:System_PullRequest_PullRequestNumber")
116
116
{
117
- '##[command] OK' | Write-Host -ForegroundColor Green
117
+ 'OK' | Write-Host -ForegroundColor Green
118
118
}
119
119
120
120
# grab PR commit message
@@ -1288,7 +1288,6 @@ jobs:
1288
1288
persistCredentials : true
1289
1289
1290
1290
- template : azure-pipelines-templates/check-mscorlib-to-test.yml
1291
- - template : azure-pipelines-templates/check-mdp-for-build.yml
1292
1291
1293
1292
# Download nanoclr from build artifacts
1294
1293
- task : DownloadBuildArtifacts@1
@@ -1305,6 +1304,8 @@ jobs:
1305
1304
inputs :
1306
1305
GitHubToken : $(GitHubToken)
1307
1306
1307
+ - template : azure-pipelines-templates/check-mdp-for-build.yml
1308
+
1308
1309
- template : azure-pipelines-templates/install-nuget.yml@templates
1309
1310
1310
1311
- task : Cache@2
0 commit comments