History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2038
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Justin Georgeson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Build condition "last build failed" only triggers build if last build status is FAILED, ignores CANCELLED and TIMEOUT

Created: 29/Apr/14 08:42 PM   Updated: 01/May/14 03:00 PM
Component/s: None
Affects Version/s: 5.1.19
Fix Version/s: 5.1.24

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. XML File QR-2038.xml (5 kb)



 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
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.

Robin Shen [30/Apr/14 01:00 AM]
Thanks for reporting this. Will get it addressed in next patch release.