Re: Renaming artifacts folder - which uses timestamp - with build label

Sreram Balasubramaniyan <[email protected]> Thu, 5 Apr 2012 09:54:06 +0530
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CABNTSUVobwE0m9Pv0coNTg_uUSwMAYnfaE1UdeJUiB7x-Y8Ung@mail.gmail.com>
not to mention I get the following two exceptions from the output of the
batch file that is running in the background

com.thoughtworks.xstream.converters.ConversionException: Cannot construct
net.sourceforge.cruisecontrol.BuildLoopInformation as it does not have a
no-args constructor

Caused by:
com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
Cannot construct net.sourceforge.cruisecontrol.BuildLoopInformation as it
does
not have a no-args constructor

On Wed, Apr 4, 2012 at 6:01 PM, Sreram Balasubramaniyan <[email protected]
> wrote:

> Hello all,
>
> Am Sreram, a new user to Cruise control and thanks for giving such a good
> product.
>
> But am trying to put the build output files to a folder created with build
> label (say if the build label is 10, am trying to put my output files to
> build-10 ) instead of the build timestamp, in vain.
>
> Am trying to rename the build folder created with artifacts by using the
> following command.
> <publishers>
> <onsuccess>
>         <artifactspublisher File="($srcfolder)\myfile.jar" Dest="
> ($destfolder) " />
>         </onsuccess>
> <onsuccess>
>         <execute command="rename ($destfolder)\$(cclastgoodbuildtimestamp)
> $(label)" />
>       </onsuccess>
> </publishers>
>
> The build succeeds, and the created jar file is successfully copied to
> my destfolder... But after the copy is complete, while i expect the rename
> command to work as desired giving the folder name to be the build number
> (say 10), i still see the timestamp folder only. I wanna rename the folder
> to say build-10
>
> I even tried giving the folder name instead of determining it with
> ($cclastgoodbuildtimestamp), but still the same result, leaving me puzzled
> whether the command gets executed or not. Can somebody help me?
>
>

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user