[Anthill-pro] Agent selection script that returns all agents in an environment

Ryan Smith rws at urbancode.com
Thu Aug 2 15:31:24 CDT 2007


Ok,

First, your job configuration has to be a generic job configuration. If 
its not, there is a link to create one from it.

Second, you have to use the Scripted agent filter, Eric provided the 
correct script. You will also see a Agent Quantity field when choosing 
the script. Set it to -1.

This should run the job on all agents in the environment in parallel.

Ryan

Christopher Power wrote:
> I would like to run the workflow in parallel on all of the agents in the 
> environment.
>  
> Chris
> 
>  
> On 8/2/07, *Ryan Smith* <rws at urbancode.com <mailto:rws at urbancode.com>> 
> wrote:
> 
>     Chris, do you want to run the job in parallel on all agents in the
>     environment or do you want it to just run it once on one of the
>     available agents?
> 
>     Ryan Smith
> 
>     Christopher Power wrote:
>      > How would I write an agent selection script that returns all of the
>      > available agents in the selected environment?
>      >
>      > Also, where would one find the AnthillPro API javadocs?
>      >
>      > Thanks,
>      > Chris
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Anthill-pro mailing list
>      > Anthill-pro at lists.urbancode.com
>     <mailto:Anthill-pro at lists.urbancode.com>
>      > http://lists.urbancode.com/mailman/listinfo/anthill-pro
>     <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
>     <mailto:rws at urbancode.com>
>     web:     www.urbancode.com
>     <http://www.urbancode.com>      phone:  216-858-9000
>     web:     www.anthillpro.com <http://www.anthillpro.com>     
>     fax:    216-858-9602
>     ===========================================================
>     _______________________________________________
>     Anthill-pro mailing list
>     Anthill-pro at lists.urbancode.com <mailto: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