TeamCity has pre-tested commits that allow you to proactively protect source repository - you don't need to fix broken sources, but do not allow such changes to be saved to VCS in the first place.
I've been google-ing some material in teamcity revert topic, but there is not much neither from Jetbrains. So here is the situation: There are 2 environment Ci and QA and I want to revert the last X changes from QA e.g.: QA has build #1.1.0.0.5 build #1.1.0.0.4 build #1.1.0.0.3 build #1.1.0.0.2 I want to rever the build #1.1.0.0.5 and build #1.1.0.0.4 from QA How can I do it from TeamCity manually? Thanks!
You could just run a custom build on the desired revision.
If you would want to automate it, you would need to automate the revert yourself. Probably conditional build steps would help you achieving this. However, you need to be aware that the commit that reverts another commit is essentially a new change that TeamCity will detect.
TeamCity has pre-tested commits that allow you to proactively protect source repository - you don't need to fix broken sources, but do not allow such changes to be saved to VCS in the first place.
I've been google-ing some material in teamcity revert topic, but there is not much neither from Jetbrains. So here is the situation:
There are 2 environment Ci and QA and I want to revert the last X changes from QA e.g.:
QA has
build #1.1.0.0.5
build #1.1.0.0.4
build #1.1.0.0.3
build #1.1.0.0.2
I want to rever the build #1.1.0.0.5 and build #1.1.0.0.4 from QA
How can I do it from TeamCity manually?
Thanks!
Hello Sivneyra,
You could just run a custom build on the desired revision.
If you would want to automate it, you would need to automate the revert yourself. Probably conditional build steps would help you achieving this. However, you need to be aware that the commit that reverts another commit is essentially a new change that TeamCity will detect.
Thanks,
Guilherme