[Anthill-pro] job step reuse

Neerenberg, Aaron Aaron.Neerenberg at fei.com
Mon Sep 24 13:08:30 CDT 2007


We had talked a while back, briefly, about the idea of having a generic
job library that could contain jobs for reuse.  I was thinking about
this today, and realized that the other facet of this which would be
quite useful (IMHO, at least) would be the ability to have a library of
custom steps available for reuse within the job setup.  

 

As an example, I find myself frequently having to build Microsoft
.csproj, .vcproj, .wdproj, etc... projects.  As there is not intrinsic
support for this within Anthill, I've created a script which will
perform this task, based on parameters passed to the script.  Rather
than having to hard code the parameters directly with the invocation of
the script inside the shell step, it would be nice if I could simply
insert a bunch of copies of a generic step (which could pass parameters
to the script, based upon properties set upon the job step).  

 

I know that right now, I could accomplish this by cut-n-paste of a
source job step, combined with setting the EV's for each step (although
I'd prefer not to set any EV's on my build agents if I can possibly
avoid it.)  I would like to be able to use properties instead, so that I
can pass the property value in as a parameter to the script on the
agent.)  

 

(Side question-  If I set an EV for a job step, is that EV available to
query within the step invocation itself, or is it only available once
the step has actually been invoked upon the agent?)

 

Thoughts?

 

Regards,

Aaron Neerenberg

SCM/Build

FEI Company

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070924/bf70f88b/attachment.htm


More information about the Anthill-pro mailing list