9090 # get commit details, if this is a PR
9191 if($env:System_PullRequest_PullRequestId -ne $null)
9292 {
93- Write-Host "##[command] **This is a PR build**"
93+ Write-Host "**This is a PR build**"
9494
9595 # compute authorization header in format "AUTHORIZATION: basic 'encoded token'"
9696 # 'encoded token' is the Base64 of the string "nfbot:personal-token"
@@ -100,7 +100,7 @@ jobs:
100100
101101 if( ($commit.commit.author.name -eq "nfbot") -and ($commit.commit.message -like "*[version update]*") )
102102 {
103- Write-Host "##[command] **version update commit, skipping build**"
103+ Write-Host "**version update commit, skipping build**"
104104 echo "##vso[task.setvariable variable=SKIP_BUILD;isOutput=true]true"
105105 }
106106 else
@@ -109,12 +109,12 @@ jobs:
109109 }
110110
111111 # 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
113113 $pr = Invoke-WebRequest "https://api.github.com/repos/$env:Build_Repository_Name/pulls/$env:System_PullRequest_PullRequestNumber" | ConvertFrom-Json
114114
115115 if($($pr.number) -eq "$env:System_PullRequest_PullRequestNumber")
116116 {
117- '##[command] OK' | Write-Host -ForegroundColor Green
117+ 'OK' | Write-Host -ForegroundColor Green
118118 }
119119
120120 # grab PR commit message
@@ -1288,7 +1288,6 @@ jobs:
12881288 persistCredentials : true
12891289
12901290 - template : azure-pipelines-templates/check-mscorlib-to-test.yml
1291- - template : azure-pipelines-templates/check-mdp-for-build.yml
12921291
12931292 # Download nanoclr from build artifacts
12941293 - task : DownloadBuildArtifacts@1
@@ -1305,6 +1304,8 @@ jobs:
13051304 inputs :
13061305 GitHubToken : $(GitHubToken)
13071306
1307+ - template : azure-pipelines-templates/check-mdp-for-build.yml
1308+
13081309 - template : azure-pipelines-templates/install-nuget.yml@templates
13091310
13101311 - task : Cache@2
0 commit comments