TeamCity - re-launch a specific build phase

For arguments, if you set up 3 build steps and want to re-execute the third step in isolation (do not run the previous 2 steps), how would you achieve this?

+4
source share
2 answers

No, not possible .... unless you temporarily disable the previous steps in admin and run the build again.

http://confluence.jetbrains.com/display/TCD7/Configuring+Build+Steps

+4
source

You can divide the three assembly steps into 2 assembly configurations with a snapshot dependency between them. The first build configuration will contain the first two build steps. The dependency should be set to 'Run build on the same agent' and 'Do not run new build if there is a suitable one' . This will combine the two configurations together, but if necessary, will allow you to simply run the second configuration if nothing has changed in the source.

Depending on your installation, this may or may not be a suitable solution. This may work fine if at the third stage of the assembly some tests are performed that need to be re-run without recompiling the code.

+1
source

Source: https://habr.com/ru/post/1236639/


All Articles