[Anthill-pro] Event Selector - comparing last build status

Steve Boone sbb at urbancode.com
Tue Feb 5 09:36:16 CST 2008


In your scenario, we would not notify.

so when start dates will be compared:

"10:00".after("10:30")

lastFailure.getStartDate().after(lastSuccess.getStartDate()))

.after()  checks to see if the start date is after the start date it is
calling.

Therefore, it asks, is 10:00 after 10:30?  The result is false.  Therefore,
the only way the method is successful is if it is it's first successful
build.

I guess the .after()  is a ambiguous.

Hope it helps to clarify.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080205/f08afd2a/attachment-0001.htm


More information about the Anthill-pro mailing list