Skip to content

Commit

Permalink
Check automated test results field is empty before launching builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Nov 8, 2024
1 parent 0eb6bf7 commit e0a676e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ${basereq} --action getIssueList \
AND status = 'Waiting for component lead review' \
AND status WAS NOT 'Waiting for component lead review' ON '-${schedulemins}' \
AND level IS EMPTY \
AND 'Automated test results' IS EMPTY \
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
--outputFormat 101 \
--file "${resultfile}"
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ${basereq} --action getIssueList \
AND status = 'Waiting for integration review' \
AND status WAS NOT 'Waiting for integration review' ON '-${schedulemins}' \
AND level IS EMPTY \
AND 'Automated test results' IS EMPTY \
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
--outputFormat 101 \
--file "${resultfile}"
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ while read line; do
# --issue ${issue} \
# --field "customfield_10211=" \
# --comment "Moving this reopened issue out from current integration. Please, re-submit it for integration once ready."
#
# Note: customfield_10211 represents the "Currently in integration" field, and customfield_17112 represents
# the "Automated test results" field.
${basereq} --action transitionIssue \
--issue ${issue} \
--transition "CI Global Self-Transition" \
--fixVersions "${keepversion}" \
--field "customfield_10211=" \
--field "customfield_17112=" \
--comment "Moving this reopened issue out from current integration. Please, re-submit it for integration once ready."
echo "$BUILD_NUMBER $BUILD_TIMESTAMP ${issue}" >> "${logfile}"
done < "${resultfile}"
Expand Down

0 comments on commit e0a676e

Please sign in to comment.