Skip to content

Commit 65f050e

Browse files
committed
Handle update_test_results_customfield flag
1 parent 2de0434 commit 65f050e

File tree

1 file changed

+11
-4
lines changed
  • tracker_automations/bulk_prelaunch_jobs/criteria/list_of_mdls

1 file changed

+11
-4
lines changed
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
if [[ ! -z "${update_test_results_customfield}" ]]; then
12
# Update the automated testing field with the results.
2-
${basereq} --action setFieldValue \
3-
--issue ${issue} \
4-
--field "Automated test results" \
5-
--file "${resultfile}.${issue}.txt"
3+
${basereq} --action setFieldValue \
4+
--issue ${issue} \
5+
--field "Automated test results" \
6+
--file "${resultfile}.${issue}.txt"
7+
else
8+
# Just add the results as a comment.
9+
${basereq} --action addComment \
10+
--issue ${issue} \
11+
--file "${resultfile}.${issue}.txt"
12+
fi

0 commit comments

Comments
 (0)