[Anthill-pro] Job Precondition and Status

Ryan Smith rws at urbancode.com
Fri May 2 10:10:40 CDT 2008


Frederic,

You can use the following job pre-condition script:

return new Criteria() { 
public boolean matches(Object obj) { 
return true; 
} 
}


If you have multiple jobs in a workflow, usually the last one will set a success status and that job only runs if the prior jobs are successful. Any job could set the failure status.


Ryan Smith

Frederic Jean wrote:
> How do i create a job pre-conditionwill would be like execute Always.
> 
> Also I'm little confused with status assignment , like I add  status
> assignement step in a job, the Continuation Condition does only refer to
> step in that job or step in the whole build life ?
> 
> Also , if I assign a status XYZ to a buildlife, if one job fail, the
> previous status will be overwritten with like the default failure one ?
> 
> Tnx for the answer
> 
> Frederic
> _______________________________________________
> 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
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