Skip to content

Commit 83f2594

Browse files
fix: insert folder id in results link (#18)
Insert folder id correctly in test results link
1 parent 50e6c8d commit 83f2594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ runs:
159159
testExecutionUrls=""
160160
testResultsFolder="${{ steps.run_tests.outputs.testResultsFolder }}"
161161
testExecutionBaseURL="${{ inputs.orchestratorUrl }}${{ inputs.orchestratorLogicalName }}/${{ inputs.orchestratorTenant }}/orchestrator_/test/executions/"
162+
folderId="${{ steps.get_folder_id.outputs.folderId }}"
162163
163164
# Loop through all JSON files in the test results folder
164165
while IFS= read -r testResultFilePath; do
165166
echo "Processing test result file: $testResultFilePath"
166167
testResultData=$(cat "$testResultFilePath" | jq '.')
167168
testCaseExecutions=$(echo "$testResultData" | jq -c '.TestSetExecutions[] | .TestCaseExecutions')
168-
folderId="${{ steps.get_folder_id.outputs.folderId }}"
169169
testSetExecutionLink="$testExecutionBaseURL$(echo "$testResultData" | jq -r '.TestSetExecutions[0].Id')?fid=$folderId"
170170
171171
echo "Test execution can be viewed in Orchestrator by clicking this link: $testSetExecutionLink"

0 commit comments

Comments
 (0)