We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 727f0b9 commit 7209d25Copy full SHA for 7209d25
eng/common/scripts/logging.ps1
@@ -114,12 +114,12 @@ function LogJobFailure() {
114
115
function ProcessMsBuildLogLine($line) {
116
if (Test-SupportsDevOpsLogging) {
117
- if ($line -like "*: warning*") {
118
- return ("##vso[task.LogIssue type=warning;]$line" -replace "`n", "%0D%0A")
119
- }
120
- elseif ($line -like "*: error*") {
+ if ($line -like "*: error*") {
121
return ("##vso[task.LogIssue type=error;]$line" -replace "`n", "%0D%0A")
122
}
+ elseif ($line -like "*: warning*") {
+ return ("##vso[task.LogIssue type=warning;]$line" -replace "`n", "%0D%0A")
+ }
123
124
return $line
125
0 commit comments