[Cruisecontrolrb-users] build number to Ant script

Artem abublic at gmail.com
Mon May 28 13:14:15 EDT 2007


Hello Alexey,

I've attached a small patch to CCRB-120.

Best regards,
Artem
 
AV> I think it makes sense. I added a storyto JIRA
AV> (http://jira.public.thoughtworks.org/browse/CCRB-120).
AV> We'll get to it in a few weeks. Or,it's a good easy story to make a
AV> patch for. If you do, please rememberto patch documentation, too. 

AV> --
AV> Alex Verkhovsky




AV> Artem <abublic at gmail.com>
AV> Sent by: cruisecontrolrb-users-bounces at rubyforge.org
AV> 05/14/2007 11:11 AM

AV> Please respond to
AV> Artem <abublic at gmail.com>

AV> To
AV> cruisecontrolrb-users at rubyforge.org,"Jeff Xiong" <gigix1980 at gmail.com>cc
AV> Subject
AV> Re: [Cruisecontrolrb-users] build numberto Ant script




AV> Hello Jeff,

AV> Well, I'm aware of CC_BUILD_ARTIFACTS environment variable. Unfortunatelythis
AV> is not what I want. This way I would need to publish
AV> (make a link to) the whole /path/to/ccrb/projects/my_project directoryto show
AV> the build numbers of war files; this is excessive. I would be happy ifthere
AV> were also CC_BUILD_NUMBER environment variable equal to 787 in this case.

AV> Regards,
AV> Artem

JX>> During the build process, you can copy artifacts (e.g. services.war)
JX>> to $CC_BUILD_ARTIFACTS directory, which is something like
JX>> "/path/to/ccrb/projects/my_project/build-787-success.in32s".Does it
JX>> work for you?

JX>> On 5/14/07, Artem Vasiliev <abublic at gmail.com> wrote:
>>> Hi All!
>>>
>>> I've just migrated build process from CruiseControl for Java tonew
>>> cruisecontrol.rb. All looks great but I'm missing one thing..
>>> My project is in Java so I launch Ant builder from cruise_config.rb.
>>> In the end it creates and publishes war file. I'm used to havingbuild
>>> number in this file's name, e.g. build 787 corresponds to
>>> services-20070514-1550-build.787.war.
>>> In Cruisecontrol for Java Ant was given ${label} property withvalue '
>>> build.787' for this case; in cruisecontrol.rb Ant don't seem tohave this
>>> info.
>>> May be there's some way to give this info to Ant in cruisecontrol.rb?
>>>
>>> Thanks in advance,
>>> Artem
>>>
>>> _______________________________________________
>>> Cruisecontrolrb-users mailing list
>>> Cruisecontrolrb-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>>>
>>>












More information about the Cruisecontrolrb-users mailing list