Re: How do I get the last successful build labelnumber?
Venkata Mulpuru <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I am actually looking for the previous successful build number. The label property as per my understanding is the new number generated for the current build. For example, on Monday, the successful build number was 10 and on Tuesday, I want to pass the value 10 (last sucessful build label) to my ant script. But as per my understanding, the label environment variable will be some value greater than 10. On Wed, May 13, 2009 at 3:45 PM, Ross, Bryan M <[email protected]> wrote: > 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 > _______________________________________________ > 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