[Anthill-pro] 'Set work dir' step executes incorrectly

Valery Golubev VGolubev at by.kyriba.com
Tue Sep 11 10:14:23 CDT 2007


I am evaluating Anthill3 and now setting it to act as our Continuous Integration Server on Windows2000 Server platform (both server and agents).

 

As compilation flow for our project is rather complicated, I have to use Generic Job   for compilation workflow. 

I am using 'Set work directory' step in the beginning of the job, which utilizes the following script for workdirectory setup: ${anthill3/var.dir}/projects/${bsh:PathHelper.makeSafe(ProjectLookup.getCurrent().getName())}.

After this step and several ant builder steps,  I use 'publish junit' and 'publish Artifact set' steps, which fail during the execution. As you know, they are using base directories, which are related to the working directory, preset earlier by script . 

The problem is that during job execution the working directory is set incorrectly, it expands environment variable ${anthill3/var.dir} to the value defined on the server, but not on the agent, on which the job is executing. I managed to workaround this by setting special environment variable ${anthill3/project.dir}, which is present only on agents, and everything works fine.

 

Do I misunderstand some concepts or set working directory in the wrong way?  What is the correct way than?       

 

Best regards, Valery Golubev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070911/7c892264/attachment-0001.htm


More information about the Anthill-pro mailing list