Skip to content

Commit

Permalink
[PublishCodeCoverageResultsV1] Apply restrictions (#14512)
Browse files Browse the repository at this point in the history
* apply restrictions

* Bump task version

Co-authored-by: Anatoly Bolshakov <[email protected]>
Co-authored-by: Nikita Ezzhev <[email protected]>
  • Loading branch information
3 people authored Apr 5, 2021
1 parent ccb0e0d commit 502c284
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
9 changes: 7 additions & 2 deletions Tasks/PublishCodeCoverageResultsV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 182,
"Minor": 186,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.102.0",
"minimumAgentVersion": "2.182.1",
"instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
"inputs": [
{
Expand Down Expand Up @@ -82,6 +82,11 @@
"argumentFormat": ""
}
},
"restrictions": {
"settableVariables": {
"allowed": []
}
},
"messages": {
"FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s",
"MultipleSummaryFilesFound": "Multiple file or directory matches were found. Using the first match: %s",
Expand Down
11 changes: 8 additions & 3 deletions Tasks/PublishCodeCoverageResultsV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 182,
"Minor": 186,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.102.0",
"minimumAgentVersion": "2.182.1",
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
"inputs": [
{
Expand Down Expand Up @@ -82,6 +82,11 @@
"argumentFormat": ""
}
},
"restrictions": {
"settableVariables": {
"allowed": []
}
},
"messages": {
"FoundNMatchesForPattern": "ms-resource:loc.messages.FoundNMatchesForPattern",
"MultipleSummaryFilesFound": "ms-resource:loc.messages.MultipleSummaryFilesFound",
Expand All @@ -92,4 +97,4 @@
"UpgradeAgentMessage": "ms-resource:loc.messages.UpgradeAgentMessage",
"GeneratedHtmlReport": "ms-resource:loc.messages.GeneratedHtmlReport"
}
}
}

0 comments on commit 502c284

Please sign in to comment.