From 34d691251af11c01225ed47f950f992d5246e53c Mon Sep 17 00:00:00 2001 From: Khilan Goel Date: Wed, 21 Mar 2018 22:13:31 +0530 Subject: [PATCH 1/3] Fix for taking TestRun title into consideration while publishing results. Adding Test Run title while publishing results Fixes: https://github.com/Microsoft/vsts-tasks/issues/6588 --- Tasks/ANT/anttask.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tasks/ANT/anttask.ts b/Tasks/ANT/anttask.ts index 69abbd6cf4e3..ce8e1fbf8254 100644 --- a/Tasks/ANT/anttask.ts +++ b/Tasks/ANT/anttask.ts @@ -40,7 +40,9 @@ function publishTestResults(publishJUnitResults, testResultsFiles: string) { } var tp = new tl.TestPublisher("JUnit"); - tp.publish(matchingTestResultsFiles, true, "", "", "", true); + const testRunTitle = tl.getInput('testRunTitle'); + + tp.publish(matchingTestResultsFiles, true, "", "", testRunTitle, true); } } From 93aba3ac661c5cea1347ffd53edc5dee1b95bf22 Mon Sep 17 00:00:00 2001 From: Khilan Goel Date: Wed, 21 Mar 2018 22:33:01 +0530 Subject: [PATCH 2/3] updating task version --- Tasks/ANT/task.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/ANT/task.json b/Tasks/ANT/task.json index 1f2cbf327292..7914fb77efaf 100644 --- a/Tasks/ANT/task.json +++ b/Tasks/ANT/task.json @@ -16,7 +16,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 131, + "Minor": 132, "Patch": 0 }, "demands": [ From c7511292517636da7acfedeb621e291224e1455d Mon Sep 17 00:00:00 2001 From: Khilan Goel Date: Wed, 21 Mar 2018 23:27:33 +0530 Subject: [PATCH 3/3] Pr comments --- Tasks/ANT/task.json | 2 +- Tasks/ANT/task.loc.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/ANT/task.json b/Tasks/ANT/task.json index 7914fb77efaf..e822e207d50d 100644 --- a/Tasks/ANT/task.json +++ b/Tasks/ANT/task.json @@ -16,7 +16,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 132, + "Minor": 133, "Patch": 0 }, "demands": [ diff --git a/Tasks/ANT/task.loc.json b/Tasks/ANT/task.loc.json index c13e6c58a44e..cbb00c78c527 100644 --- a/Tasks/ANT/task.loc.json +++ b/Tasks/ANT/task.loc.json @@ -16,7 +16,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 131, + "Minor": 133, "Patch": 0 }, "demands": [