Re: How do I get the last successful build labelnumber?
"Ross, Bryan M" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <8B568468E66F1042A45AB841E08A72D908A1A6D0@XCH-NW-6V1.nw.nos.boeing.com> |
Venkat,
I don't know if you are simply looking for the label that is available
to you at build time. If so, you can just pass the label flag as an
argument in your schedule block or publisher--onsuccess block, depending
on where you need it.
E.g. I execute a script in my schedule phase, but you could do something
similar with an antpublisher.
<schedule interval="300">
<exec workingdir="/somedirectory/scripts" command="/bin/bsh"
args="updateVersion.sh ${label}" />
</schedule>
-----Original Message-----
From: Venkata Mulpuru [mailto:[email protected]]
Sent: Wednesday, May 13, 2009 3:18 PM
To: [email protected]
Subject: [Cruisecontrol-user] How do I get the last successful build
labelnumber?
Guys,
I was wondering if there is a way to get the label number from the last
successful build and pass it on to my ant build script. Thanks for any
help.
-
Venkat
------------------------------------------------------------------------
------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks
to Kodak, there's a perfect scanner to get the job done! With the NEW
KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all
image processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com