From cb6677c69623a91e86dc1bace2d59651112ae9a3 Mon Sep 17 00:00:00 2001 From: Tripti Jain Date: Mon, 25 Sep 2023 16:19:12 +0530 Subject: [PATCH 1/2] updated ptr version to 2.229.0 --- .../Strings/resources.resjson/en-US/resources.resjson | 4 ++-- Tasks/PublishTestResultsV2/task.json | 2 +- Tasks/PublishTestResultsV2/task.loc.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tasks/PublishTestResultsV2/Strings/resources.resjson/en-US/resources.resjson b/Tasks/PublishTestResultsV2/Strings/resources.resjson/en-US/resources.resjson index 3dc5ca1c52f7..768a0886c1dd 100644 --- a/Tasks/PublishTestResultsV2/Strings/resources.resjson/en-US/resources.resjson +++ b/Tasks/PublishTestResultsV2/Strings/resources.resjson/en-US/resources.resjson @@ -15,8 +15,8 @@ "loc.input.help.mergeTestResults": "A test run is created for each results file. Check this option to merge results into a single test run. To optimize for better performance, results will be merged into a single run if there are more than 100 result files, irrespective of this option.", "loc.input.label.failTaskOnFailedTests": "Fail if there are test failures", "loc.input.help.failTaskOnFailedTests": "Fail the task if there are any test failures. Check this option to fail the task if test failures are detected in the result files.", - "loc.input.label.failTaskOnMissingResultsFile": "ms-resource:loc.input.label.failTaskOnMissingResultsFile", - "loc.input.help.failTaskOnMissingResultsFile": "ms-resource:loc.input.help.failTaskOnMissingResultsFile", + "loc.input.label.failTaskOnMissingResultsFile": "Fail if no result files are found", + "loc.input.help.failTaskOnMissingResultsFile": "Fail the task if no result files are found.", "loc.input.label.testRunTitle": "Test run title", "loc.input.help.testRunTitle": "Provide a name for the Test Run.", "loc.input.label.platform": "Build Platform", diff --git a/Tasks/PublishTestResultsV2/task.json b/Tasks/PublishTestResultsV2/task.json index 4b4cc44b507e..ea8798960c21 100644 --- a/Tasks/PublishTestResultsV2/task.json +++ b/Tasks/PublishTestResultsV2/task.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 228, + "Minor": 229, "Patch": 0 }, "demands": [], diff --git a/Tasks/PublishTestResultsV2/task.loc.json b/Tasks/PublishTestResultsV2/task.loc.json index 8889ddf91fb0..784f9b2a7d10 100644 --- a/Tasks/PublishTestResultsV2/task.loc.json +++ b/Tasks/PublishTestResultsV2/task.loc.json @@ -13,7 +13,7 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 228, + "Minor": 229, "Patch": 0 }, "demands": [], From bf40c41f899d650aa8959f5661554c34895470f4 Mon Sep 17 00:00:00 2001 From: v-mazayt Date: Mon, 25 Sep 2023 20:47:43 +0200 Subject: [PATCH 2/2] Fix failTaskOnMissingResultsFile --- Tasks/PublishTestResultsV2/task.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Tasks/PublishTestResultsV2/task.json b/Tasks/PublishTestResultsV2/task.json index ea8798960c21..bcb17c8f6f9c 100644 --- a/Tasks/PublishTestResultsV2/task.json +++ b/Tasks/PublishTestResultsV2/task.json @@ -81,14 +81,14 @@ "required": false, "helpMarkDown": "Fail the task if there are any test failures. Check this option to fail the task if test failures are detected in the result files." }, - { - "name": "failTaskOnMissingResultsFile", - "type": "boolean", - "label": "ms-resource:loc.input.label.failTaskOnMissingResultsFile", - "defaultValue": false, - "required": false, - "helpMarkDown": "ms-resource:loc.input.help.failTaskOnMissingResultsFile" - }, + { + "name": "failTaskOnMissingResultsFile", + "type": "boolean", + "label": "Fail if no result files are found", + "defaultValue": false, + "required": false, + "helpMarkDown": "Fail the task if no result files are found." + }, { "name": "testRunTitle", "type": "string",