Skip to content

Commit

Permalink
DEVPROD-12638: Fix job log URL template (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophstad authored Nov 7, 2024
1 parent 9be86e4 commit 105d616
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/parsley/src/constants/logURLTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const getEvergreenCompleteLogsURL = (
execution: string | number,
groupID: string,
) =>
`${evergreenURL}/rest/v2/tasks/${taskID}/build/TestLogs/${groupID}?execution=${execution}`;
`${evergreenURL}/rest/v2/tasks/${taskID}/build/TestLogs/${groupID}%2F?execution=${execution}`;

export {
constructEvergreenTaskLogURL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,12 +403,12 @@ describe("useResolveLogURLAndRenderingType", () => {
await waitFor(() => {
expect(result.current).toMatchObject({
downloadURL:
"http://test-evergreen.com/rest/v2/tasks/a-task-id/build/TestLogs/job0?execution=0",
"http://test-evergreen.com/rest/v2/tasks/a-task-id/build/TestLogs/job0%2F?execution=0",
htmlLogURL: "",
jobLogsURL: "http://test-spruce.com/job-logs/a-task-id/0/job0",
loading: false,
rawLogURL:
"http://test-evergreen.com/rest/v2/tasks/a-task-id/build/TestLogs/job0?execution=0",
"http://test-evergreen.com/rest/v2/tasks/a-task-id/build/TestLogs/job0%2F?execution=0",
});
});
});
Expand Down

0 comments on commit 105d616

Please sign in to comment.