[Cruisecontrolrb-users] build number to Ant script

Alexey Verkhovsky averkhov at thoughtworks.com
Mon May 14 15:32:16 EDT 2007


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

--
Alex Verkhovsky





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


To
cruisecontrolrb-users at rubyforge.org, "Jeff Xiong" <gigix1980 at gmail.com>
cc

Subject
Re: [Cruisecontrolrb-users] build number to Ant script






Hello Jeff,

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

Regards,
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 to new
>> 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 having build
>> 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 with value '
>> build.787' for this case; in cruisecontrol.rb Ant don't seem to have 
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
>>
>>





-- 
Best regards,
 Artem                            mailto:abublic at gmail.com

_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070514/4db3a84c/attachment.html 


More information about the Cruisecontrolrb-users mailing list