TeamCity building maven project even if no changes detected
Hello. I made two maven steps.
1. clean install - Build only modules affected by changes
2. deploy - Build only modules affected by changes
Why teamcity trying to build whole project even if no changes detected:
Incremental building isn't possible because there are no changes
I wont to executed second step if no changes detected.
Please sign in to leave a comment.
Hi,
I'm sorry but I'm not sure I understand what is going on. TeamCity will trigger the steps based on the "Build Triggers" that you have defined in the build configuration, or when run manually.
If you want to execute step 2 even if no changes are detected (if I understood it wrong please correct me), simply set step 2 to "Execute step, even if some of the previous steps failed".