Skip to content

Commit 2dafb69

Browse files
authored
Updating the agent version check in PTR task (#12214)
1 parent 9dcb86c commit 2dafb69

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Tasks/PublishTestResultsV2/publishtestresults.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ async function run() {
186186
function readAndPublishTestRunSummaryToEvidenceStore(testRunner: string) {
187187
try {
188188
const agentVersion = tl.getVariable('Agent.Version');
189-
if(semver.lt(agentVersion, "2.162.1")) {
190-
throw "Required agent version greater than or equal to 2.162.0";
189+
if(semver.lt(agentVersion, "2.164.0")) {
190+
throw "Required agent version greater than or equal to 2.164.0";
191191
}
192192

193193
var tempPath = tl.getVariable('Agent.TempDirectory');

Tasks/PublishTestResultsV2/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 164,
17-
"Patch": 1
17+
"Patch": 2
1818
},
1919
"demands": [],
2020
"releaseNotes": "<ul><li>NUnit3 support</li><li>Support for Minimatch files pattern</li></ul>",

Tasks/PublishTestResultsV2/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 164,
17-
"Patch": 1
17+
"Patch": 2
1818
},
1919
"demands": [],
2020
"releaseNotes": "ms-resource:loc.releaseNotes",

0 commit comments

Comments
 (0)