Cleaning local mirror folder in case of corruption

We are using the Local mirror function with Mercurial VCS. In one case the local mirror on the agent got corrupted, which then caused all builds to fail.

Manual correction was needed, but it would have been a lot better if you could clean the local mirror, the same way as you clean the build folder on the agent.

Is such a feature available ?

1
2 comments

At the moment there is no such feature, feel free to file a request in the tracker. 

As a workaround you can create a build configuration with a command line build step which removes the <build agent home>/system/mercurial directory and run it on all compatible agents.

0

Thank you, using a build configuration is a good workaround, although it requires a spare build configuration.

I might file a request in the tracker, if the workaround is hard to implement.

0

Please sign in to leave a comment.