Changing artifacts folder

Mark Christian <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <24192053.52271234814969660.JavaMail.root@zimbratest.crownpeak.com>
Hi,

I would like to get the build label into the folder where my artifacts are published.

Currently, the only control I seem to have over this is from here:

  <artifactspublisher dest="\\fileserv1\Build-Archive/${project.name}" dir="projects/${project.name}/deploy"/>

The build itself goes into a subfodler with the timestamp.  I would like to have the build number in there too.  

Is there a way to do this?

I tried to change the destination to include the label.  I wasn't sure how to access that value in the config.xml.  I tried the ${label} which I use in my ANT script, but I only ended up with a folder called ${label}.  That method would be a work-around (if it worked), but not my preference.  I would rather put the build number into the generated sub-folder without introducing a deeper-level of nesting.

Thanks,
Mark C.
CrownPeak Technology.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.