<< Back to previous view

[QB-2038] Build condition "last build failed" only triggers build if last build status is FAILED, ignores CANCELLED and TIMEOUT
Created: 29/Apr/14  Updated: 01/May/14

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.19
Fix Version/s: 5.1.24

Type: Bug Priority: Major
Reporter: Justin Georgeson Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: XML File QR-2038.xml    

 Description   
While investigating why a trigger another config step with "Respect Build Condition" and "Wait for finish" enabled with non-default variables would fail when the triggered configuration didn't build and the last completed build of the trigger was cancelled or timed out. The triggered configuration has build condition set to "change in referenced repositories or last build failed". Setting up a dummy config I confirmed that this condition does not trigger a build unless the status is FAILED. I will attach the XML of my test config.

 Comments   
Comment by Justin Georgeson [ 29/Apr/14 08:47 PM ]
A manual trigger will fail and the subsequent scheduled trigger will succeed. Manually trigger again but cancel the build (status CANCELLED), and the schedule will not trigger a rebuild. Change the timeout on the sleep step to timeout before the sleep returns then manually trigger (status TIMEDOUT) and the schedule will not trigger a rebuild.
Comment by Robin Shen [ 30/Apr/14 01:00 AM ]
Thanks for reporting this. Will get it addressed in next patch release.
Generated at Fri May 17 08:14:02 UTC 2024 using JIRA 189.