Skip to content

Commit

Permalink
Post ToBiC results in the "Automated test results" custom field
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Oct 11, 2024
1 parent 0b34867 commit 30f04c1
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Add the comment with results.
if [[ -n "${restrictedto}" ]]; then
${basereq} --action addComment \
--issue ${issue} \
--file "${resultfile}.${issue}.txt" ${restrictiontype} "${restrictedto}"
else
${basereq} --action addComment \
--issue ${issue} \
--file "${resultfile}.${issue}.txt"
fi
# Update the automated testing field with the results.
${basereq} --action setFieldValue \
--issue ${issue} \
--field "Automated test results" \
--file "${resultfile}.${issue}.txt"

0 comments on commit 30f04c1

Please sign in to comment.