Skip to content

Commit

Permalink
Fix: ADO plugin report url can't redirect (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaccoonLi committed Mar 7, 2023
1 parent 3a45a57 commit 09bb80d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ async function run() {
}

const testReportUrl: URL = new URL(HydraLabAPIConfig.Path.testPortalTaskInfoPath, HydraLabAPIConfig.serviceEndpointUrl);
testReportUrl.searchParams.append('redirectUrl', path.join('/info/task/', runningTest.id));
testReportUrl.searchParams.append('redirectUrl', `/info/task/${runningTest.id}`);

const StringBuilder = require("string-builder");
const mdBuilder: any = new StringBuilder();
Expand Down
2 changes: 1 addition & 1 deletion vsts_extension/Tasks/HydraLabDeployTest/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 12
"Patch": 13
},
"instanceNameFormat": "Deploy Tests of ${pkgName} to HydraLab",
"inputs": [
Expand Down
2 changes: 1 addition & 1 deletion vsts_extension/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "hydra-lab",
"name": "Hydra Lab",
"version": "2.0.12",
"version": "2.0.13",
"publisher": "",
"public": true,
"targets": [
Expand Down

0 comments on commit 09bb80d

Please sign in to comment.