Skip to content

Commit

Permalink
Merge pull request #312 from junpataleta/updateCIfields
Browse files Browse the repository at this point in the history
Post ToBiC and CiBoT results in the dedicated fields in the Tracker
  • Loading branch information
HuongNV13 authored Oct 11, 2024
2 parents 31c2186 + 30f04c1 commit 724ce0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ while read issue; do
rm "${resultfile}.jenkinscli"
fi
done
echo "Built on: $(date -u)" >> "${resultfile}.${issue}.txt"

echo ""
# Verify we have processed some branch.
Expand Down
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 724ce0a

Please sign in to comment.