Franck Dehay
2008-May-08 08:35 UTC
[Cruisecontrolrb-users] Custom builds artifacts not visible (WIN 32)
Hello again, Cruisecontrolrb works well now on my XP box but for the following problem: I have set up rails_rcov so that I can generate code coverage automatically at every build. Following the manual, I have a custom task that copies rcov output to a specific folder (d:\work\ccrob\artifacts) I have set up the environment CC_BUILD_ARTIFACTS to /work/ccrob/artifacts using the tip given in another thread about manual build requests. And the result is that there is nothing in the builds about code coverage (when the target folder is actually nicely updated). Anybody has any idea about this? My guess is that ccrb may create links in the builds (like the manual says "The build page includes links to every file or subdirectory found in the build artifacts directory.") and links may not work in XP. Is it possible to ask ccrb to actually copy the target folder in the build one? Thanks in advance In the meantime, I did manually copy the result of the coverage to the build folder via a xcopy command in which I guessed the build folder partial name (~= CC_ROOT_DATA/projects/PROJECT/build-CC_BUILD_LABEL) but it would be better if the default behaviour was working fine in XP Franck Dehay _________________________________________________________________ Retouchez, classez et partagez vos photos gratuitement avec le logiciel Galerie de Photos ! http://www.windowslive.fr/galerie/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080508/14b12bc0/attachment.html>
Manfred Usselmann
2008-May-08 14:51 UTC
[Cruisecontrolrb-users] Custom builds artifacts not visible (WIN 32)
Hello Franck, there is no Windows specific problem here. CC_BUILD_ARTIFACTS can not be set by you but instead is set by CruiseControl pointing to its current build log dir. So you need to retrieve the env var within your build script or rake task and write your files to this directory. Regards, Manfred> Hello again,> Cruisecontrolrb works well now on my XP box but for the following > problem: I have set up rails_rcov so that I can generate code > coverage automatically at every build. Following the manual, I have a > custom task that copies rcov output to a specific folder (d:\work > \ccrob\artifacts) I have set up the environment CC_BUILD_ARTIFACTS > to /work/ccrob/artifacts using the tip given in another thread about > manual build requests. And the result is that there is nothing in the > builds about code coverage (when the target folder is actually nicely > updated). Anybody has any idea about this?> My guess is that ccrb may create links in the builds (like the manual > says "The build page includes links to every file or subdirectory > found in the build artifacts directory.") and links may not work in > XP. Is it possible to ask ccrb to actually copy the target folder in > the build one?> Thanks in advance> In the meantime, I did manually copy the result of the coverage to > the build folder via a xcopy command in which I guessed the build > folder partial name (~> CC_ROOT_DATA/projects/PROJECT/build-CC_BUILD_LABEL) but it would be > better if the default behaviour was working fine in XP