[Cruisecontrolrb-users] build number to Ant script
Artem
abublic at gmail.com
Mon May 14 13:11:42 EDT 2007
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
More information about the Cruisecontrolrb-users
mailing list