Skip to content

Commit

Permalink
[waitForTestingFarm] Add support for xunit_url field
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Srb <[email protected]>
  • Loading branch information
msrb committed Nov 21, 2023
1 parent 8fd9e73 commit 9e8895d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vars/waitForTestingFarm.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ def call(Map params = [:]) {
}
testingFarmResult = statusResult.response
xunit = testingFarmResult.get('result', [:])?.get('xunit', '') ?: ''
xunitUrl = testingFarmResult.get('result', [:])?.get('xunit_url', '') ?: ''

return [apiResponse: statusResult.response, requestStatus: statusResult.status, xunit: xunit]
return [apiResponse: statusResult.response, requestStatus: statusResult.status, xunit: xunit, xunitUrl: xunitUrl]
}


Expand Down

0 comments on commit 9e8895d

Please sign in to comment.