Skip to content

Commit

Permalink
Fixed the input parameter configuration in VsTestV1 and PTRV1 task (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
navin22 authored Sep 20, 2019
1 parent a19e58d commit b8943e2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Tasks/PublishTestResultsV1/PublishTestResults.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ try
Publish-TestResults -TestRunner $testRunner -TestResultsFiles $matchingTestResultsFiles -MergeResults $mergeResults -Platform $platform -Configuration $configuration -Context $distributedTaskContext -PublishRunLevelAttachments $publishResultsOption
}
else {
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;publishRunAttachments=$publishResultsOption;resultFiles=$matchingTestResultsFiles;platform=$platform;configuration=$configuration;testRunSystem=$testRunSystem;]"
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;publishRunAttachments=$publishResultsOption;resultFiles=$matchingTestResultsFiles;platform=$platform;config=$configuration;testRunSystem=$testRunSystem;]"
}
}
else
Expand All @@ -117,7 +117,7 @@ try
Publish-TestResults -TestRunner $testRunner -TestResultsFiles $matchingTestResultsFiles -MergeResults $mergeResults -Platform $platform -Configuration $configuration -Context $distributedTaskContext
}
else {
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;resultFiles=$matchingTestResultsFiles;platform=$platform;configuration=$configuration;testRunSystem=$testRunSystem;]"
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;resultFiles=$matchingTestResultsFiles;platform=$platform;config=$configuration;testRunSystem=$testRunSystem;]"
}
}
}
Expand All @@ -129,7 +129,7 @@ try
Publish-TestResults -TestRunner $testRunner -TestResultsFiles $matchingTestResultsFiles -MergeResults $mergeResults -Platform $platform -Configuration $configuration -Context $distributedTaskContext -PublishRunLevelAttachments $publishResultsOption -RunTitle $testRunTitle
}
else {
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;publishRunAttachments=$publishResultsOption;resultFiles=$matchingTestResultsFiles;platform=$platform;configuration=$configuration;testRunSystem=$testRunSystem;runTitle=$testRunTitle;]"
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;publishRunAttachments=$publishResultsOption;resultFiles=$matchingTestResultsFiles;platform=$platform;config=$configuration;testRunSystem=$testRunSystem;runTitle=$testRunTitle;]"
}
}
else
Expand All @@ -142,7 +142,7 @@ try
Publish-TestResults -TestRunner $testRunner -TestResultsFiles $matchingTestResultsFiles -MergeResults $mergeResults -Platform $platform -Configuration $configuration -Context $distributedTaskContext -RunTitle $testRunTitle
}
else {
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;resultFiles=$matchingTestResultsFiles;platform=$platform;configuration=$configuration;testRunSystem=$testRunSystem;runTitle=$testRunTitle;]"
Write-Host "##vso[results.publish type=$testRunner;mergeResults=$mergeResults;resultFiles=$matchingTestResultsFiles;platform=$platform;config=$configuration;testRunSystem=$testRunSystem;runTitle=$testRunTitle;]"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PublishTestResultsV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 43
"Patch": 44
},
"demands": [],
"minimumAgentVersion": "1.83.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PublishTestResultsV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 43
"Patch": 44
},
"demands": [],
"minimumAgentVersion": "1.83.0",
Expand Down
8 changes: 4 additions & 4 deletions Tasks/VsTestV1/VSTest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ finally
Publish-TestResults -Context $distributedTaskContext -TestResultsFiles $resultFiles -TestRunner "VSTest" -Platform $platform -Configuration $configuration -RunTitle $testRunTitle -PublishRunLevelAttachments $publishResultsOption
}
else {
Write-Host "##vso[results.publish type=VSTest;publishRunAttachments=$publishResultsOption;resultFiles=$resultFiles;platform=$platform;configuration=$configuration;testRunSystem=VSTest;runTitle=$testRunTitle;mergeResults=false;]"
Write-Host "##vso[results.publish type=VSTest;publishRunAttachments=$publishResultsOption;resultFiles=$resultFiles;platform=$platform;config=$configuration;testRunSystem=VSTest;runTitle=$testRunTitle;mergeResults=false;]"
}
}
else
Expand All @@ -277,7 +277,7 @@ finally
Publish-TestResults -Context $distributedTaskContext -TestResultsFiles $resultFiles -TestRunner "VSTest" -Platform $platform -Configuration $configuration -RunTitle $testRunTitle
}
else {
Write-Host "##vso[results.publish type=VSTest;resultFiles=$resultFiles;platform=$platform;configuration=$configuration;testRunSystem=VSTest;runTitle=$testRunTitle;mergeResults=false;]"
Write-Host "##vso[results.publish type=VSTest;resultFiles=$resultFiles;platform=$platform;config=$configuration;testRunSystem=VSTest;runTitle=$testRunTitle;mergeResults=false;]"
}
}
}
Expand All @@ -294,7 +294,7 @@ finally
Publish-TestResults -Context $distributedTaskContext -TestResultsFiles $resultFiles -TestRunner "VSTest" -Platform $platform -Configuration $configuration -PublishRunLevelAttachments $publishResultsOption
}
else {
Write-Host "##vso[results.publish type=VSTest;publishRunAttachments=$publishResultsOption;resultFiles=$resultFiles;platform=$platform;configuration=$configuration;testRunSystem=VSTest;mergeResults=false;]"
Write-Host "##vso[results.publish type=VSTest;publishRunAttachments=$publishResultsOption;resultFiles=$resultFiles;platform=$platform;config=$configuration;testRunSystem=VSTest;mergeResults=false;]"
}
}
else
Expand All @@ -307,7 +307,7 @@ finally
Publish-TestResults -Context $distributedTaskContext -TestResultsFiles $resultFiles -TestRunner "VSTest" -Platform $platform -Configuration $configuration
}
else {
Write-Host "##vso[results.publish type=VSTest;resultFiles=$resultFiles;platform=$platform;configuration=$configuration;testRunSystem=VSTest;mergeResults=false;]"
Write-Host "##vso[results.publish type=VSTest;resultFiles=$resultFiles;platform=$platform;config=$configuration;testRunSystem=VSTest;mergeResults=false;]"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Tasks/VsTestV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 94
"Patch": 95
},
"demands": [
"vstest"
Expand Down
2 changes: 1 addition & 1 deletion Tasks/VsTestV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 94
"Patch": 95
},
"demands": [
"vstest"
Expand Down

0 comments on commit b8943e2

Please sign in to comment.