Re: <deleteartifact> tag does not work
Christian Baumann <[email protected]> Fri, 08 Jun 2012 11:41:24 +0200
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Basically, the deleteartifacts LogManipulator deletes everything that does not start with the string "log" in the project's log folder. Since you state that your artifacts are located in "CruiseControl\artifacts", deleteartifacts tries to delete them from another directory, namely "logs/[projectname]", the default. If your artifacts would not go into "CruiseControl\artifacts", but rather into "logs/[projectname]", deletartifacts would work as desired. Another chance to get it working would be to specify where to store the log files in the log-tag: <log dir="CruiseControl\artifacts">...</...> However, this would mean that logs and artifacts are stored in a common location, what I think is not desireable. I'd suggest you to write a little script that searches and deletes old files in whatever directory you like and use the exec-task to execute it. Regards, Christian Am 08.06.2012 09:45, schrieb Julian Simpson: > Hi Harsh, > > On 8 June 2012 06:54, Harsh Kumar <[email protected]> wrote: > >> Hi, My artifacts folder is "CruiseControl\artifacts". It >> basically contains the MSI Installer etc. Am i configuring it the >> wrong way. Can you please help me. >> >> > I think you need to take a step back, and post a question to the > group that gives us enough detail to help you. Posting more of > your configuration would help (some people anonymise the project > names and details). Posting some of your CruiseControl log file > could also help, and in finding a section of log file that shows > what happened after the build, you may also find out some relevant > facts yourself. > > J. > > > > >> Regards, Harsh >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security >> and threat landscape has changed and how IT managers can respond. >> Discussions will include endpoint security, mobile security and >> the latest in malware threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Cruisecontrol-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user >> > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ Cruisecontrol-user > mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP0cjCAAoJEO2IMhqLUlJKCdsH/RTYujCxqa0iVMF/0jhM0wXH NYYjO9caR1Bu07wBPiO1uxvOyyUKqm5TGyhfW0MQsMZV4Rx1vlfAbSQi2OKENFiW GXMxt+DkdK3jIqP9NMh9uhmyyR8zE09VQg1Z9nXDW/PT8Awk/6K52o1Dq+lOOmvR q33epSajTQzv5L1S75jBrlflu1CfpIgXJ7M9lK2H6yZjv/f/XU1N5MikhlhclfkT 84tBPuihvN+CuPngOCm9YpsEYsFRVQW9+FcMcWvm9IJv9X7imd9Ee4Dxwb6r+TMM Bl9jrUDMl3F5RgPGX5t/65Y159POFeFIJ2jerdOXa7k6Q+Gp2t8/3WWPs5Lix6A= =uDi/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/