Agent reimaging before run tests

Hello, All.

     We want to reimage machine befor tests executing (machine should be cleare). Am I able to reimage machine is scope of build?

Thanks in advanvce,
Mike Smirnov.

1 comment
Comment actions Permalink

Hi Mike,

It is not possible to reimage build agent as the build step. If you need clean agent instance to run tests, you can use Cloud Solutions.
When build starts it can create a new virtual machine from an image. Such machines will be destroyed (after the build is finished or an idle timeout elapses).
Another option is to use Docker/Vagtrant containers. For example please take a look at third-party plugin (see the related blog post). Also please vote for the feature request:


Please sign in to leave a comment.