Skip to content

Commit e0a676e

Browse files
committed
Check automated test results field is empty before launching builds
1 parent 0eb6bf7 commit e0a676e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tracker_automations/bulk_prelaunch_jobs/criteria/awaiting_component_lead_review/query.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ${basereq} --action getIssueList \
33
AND status = 'Waiting for component lead review' \
44
AND status WAS NOT 'Waiting for component lead review' ON '-${schedulemins}' \
55
AND level IS EMPTY \
6+
AND 'Automated test results' IS EMPTY \
67
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
78
--outputFormat 101 \
89
--file "${resultfile}"

tracker_automations/bulk_prelaunch_jobs/criteria/awaiting_integration/query.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ${basereq} --action getIssueList \
33
AND status = 'Waiting for integration review' \
44
AND status WAS NOT 'Waiting for integration review' ON '-${schedulemins}' \
55
AND level IS EMPTY \
6+
AND 'Automated test results' IS EMPTY \
67
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
78
--outputFormat 101 \
89
--file "${resultfile}"

tracker_automations/mv_reopened_out_from_current/mv_reopened_out_from_current.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,15 @@ while read line; do
7474
# --issue ${issue} \
7575
# --field "customfield_10211=" \
7676
# --comment "Moving this reopened issue out from current integration. Please, re-submit it for integration once ready."
77+
#
78+
# Note: customfield_10211 represents the "Currently in integration" field, and customfield_17112 represents
79+
# the "Automated test results" field.
7780
${basereq} --action transitionIssue \
7881
--issue ${issue} \
7982
--transition "CI Global Self-Transition" \
8083
--fixVersions "${keepversion}" \
8184
--field "customfield_10211=" \
85+
--field "customfield_17112=" \
8286
--comment "Moving this reopened issue out from current integration. Please, re-submit it for integration once ready."
8387
echo "$BUILD_NUMBER $BUILD_TIMESTAMP ${issue}" >> "${logfile}"
8488
done < "${resultfile}"

0 commit comments

Comments
 (0)