[Anthill-pro] Artifacts configuration question

Eric Minick etm at urbancode.com
Wed Feb 7 00:08:55 CST 2007


The scripts are pretty equivilant. The standard approach is to bundle up 
your produced war file and the deployment script(s) for it as a single 
artifact set. You would then have a deploy job that would run the 
'Resolve my artifacts' step against that artifact set to retrieve the 
files to the agent. And then run your script.

So a basic deployment job is three steps.
1) Set Working Directory (where do we want to run from?)
2) Resolve my artifacts (Get the stuff to deploy)
3) Run a Builder (do the deployment)

Does that answer the question?

-- Eric

Colfer, Brian wrote:

> 
>Help me understand what this specification is.  Would it be correct to read as:
> 
>"The file path pattern relative to the working directory." 
> 
>Also ... How can I use these artifacts, besides as a dependency for another project? Ok I got that ...  how can I reference them in another work flow?  In one set of projects I build a "war" file and deploy it to a test server... I have an at task called depoly-to-test and I can specify a property with the name of the war file ... note it is unique base on the date and time of the build.  Can I reference this in another ant task that deploys?
> 
>I have another similar task that builds a set of tar files containing executables and configuration files.  I want these to be placed in a  directory that is referenced by an rsync server.   Is it best to use a shell scirpt, a beanshell, ant script or are they equivalent?
> 
>Brian 
> 
>
> 
>________________________________
>
>From: anthill-pro-bounces at lists.urbancode.com on behalf of Chad Loder
>Sent: Wed 2/7/2007 5:50 AM
>To: anthill-pro at lists.urbancode.com
>Subject: [Anthill-pro] Artifacts configuration question
>
>
>
>Hello.
>
>When creating an artifact configuration for a workflow, I see the comment
>for Base directory:
>
>"What to location base your artifact patterns off of. This will be
>relative to your working directory"
>
>The wording is unclear here. The "your" doesn't belong. :)
>
>Is this relative to the agent's default working directory (before any
>Set Workdir scripts have been run) or is it relative to the current
>working directory of the agent (after the most recent Set Workdir script
>has run)? Or something else?
>
>Thanks,
>        c
>_______________________________________________
>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