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

Ryan Smith rws at urbancode.com
Thu Jan 31 08:53:21 CST 2008


Go the the tools link on the top right of Anthill and then select the Remoting API for domain objects like BuildLife. The Scripting API documents helper objects that are useful for scripts.


Ryan

Wes Bramhall wrote:
> Thank you Ryan, I'll give that a shot. Hopefully I won't end up with a
> null like Uldis unfortunately did!
> 
> Where is the API (if at all) for objects such as BuildLife and User;
> objects you can access from the Lookup objects in the scripting API?
>>From the "tools" link I can look at the scripting API, but many of the
> objects that get returned have no documentation available (User,
> Buildlife, etc.) that I can find. This would obviously make it easier to
> figure these things out!
> 
> Thanks,
> -Wes Bramhall
> 
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan Smith
> Sent: Wednesday, January 30, 2008 4:40 PM
> To: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Event Selector - comparing last build status
> 
> If your script has BuildLife object, there is a getPrevBuildLife()
> method on it.
> 
> 
> Ryan Smith
> 
> Wes Bramhall wrote:
>> I am trying to make a custom Event Selector that will notify if the 
>> current build is a success and the previous one is a failure. How
> would 
>> I access the previous build life to determine if it was a failure? I 
>> don't see a way to access previous build lives except by status.
>>
>>  
>>
>> Thanks,
>>
>> -Wes
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> 

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Lead Developer                  Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================


More information about the Anthill-pro mailing list