[Anthill-pro] Job iteration and properties
Frederic Jean
frederic.jean at ubisoft.com
Thu Mar 13 16:45:47 CST 2008
I'm using Anthill 3.4.9
After some test i figured out that , you only need to set properties in the iteration you want to overwrite in the workflow.
So I removed the BRANCH=${property:BRANCH} definition as it was already set when I call my workflow and it doesn't need to change for each of my job iteration, so it fixed my problem .
Also by trying to add Iteration in Parallel I noticed that if I set the number of iteration in parallel to N which is less than the number of total iteration I have, Anthill will process sequentially all iteration and will try to parallelize the first N iteration , but if those iteration are filtered to be executed to the same agent that can only execute one iteration , others are queued... so there is only one iteration that is executed at a time.
Another point is that for each of my iteration I deliver artifacts that need to be tested, the problem is that each iteration as a unique set of artifacts.. the problem is I end up having all the artifacts for all my iteration build in the same set. So when I call my test workflow it fetch all artifacts of all my iteration build which imply that some artifact are overwritten...
Is there a way to fix that ? maybe I am doing something wrong ?
Thank you !
Frederic Jean
-----Message d'origine-----
De : anthill-pro-bounces at lists.urbancode.com [mailto:anthill-pro-bounces at lists.urbancode.com] De la part de Samuel Cameron
Envoyé : 13 mars 2008 18:06
À : AnthillPro user and support list.
Objet : RE: [Anthill-pro] Job iteration and properties
What version of Anthill are you using? What you are trying to do works
for me. What is the value of BRANCH in the job logs? Also, check if
BRANCH is defined as a project property that is set to "Pass to
Builders"? I did that and my property was passed to the job twice with
different values.
Sam Cameron
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Frederic
Jean
Sent: Thursday, March 13, 2008 2:47 PM
To: AnthillPro user and support list.
Subject: [Anthill-pro] Job iteration and properties
What is the relation with workflow properties and job iteration
properties ?
In my workflow , i run 6 iteration of a job.. I thought I could do
something like
BRANCH=${property:BRANCH} where ${property:BRANCH} is my workflow
property.
But it does not work ? why ? also those properties I set for my job
iteration , how do I access them in my job ? same way I access my
workflow property -> ${property:BRANCH} ?
Thank you
Frederic jean
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list