TC7 and incremental build for maven
Answered
Hi, (sorry, no english)
A nice feature is the incremental build for maven builds. I works fine for me on a multi module project when changes occurs in multi modue depth level 1. Changes in module depth 2 (module31, ....) and deeper (module331, ...) are not detected by teamcity. Is this a bug or is this not supported?
parent
module1
module2
parent3
module31
module32
parent33
module331
module332
...
Thanks for a hint
Torsten
Please sign in to leave a comment.
Hello Torsten,
Teamcity should detect changes for a full depth.
Could you please attach full build log for a build that failed to detect changes?
Hi,
here is a build log with comments.
Thanks
Torsten
Attachment(s):
incremental.log.zip
Here is an example for a not working incremental build. The reason for the missing build is, that the not recognized module is within a profile activated by a property.
Greetings
Torsten
Attachment(s):
incremental.tar
Thank you very much for pointing this out and providing an example.
Do You file an issue for that?
Here is the issue: http://youtrack.jetbrains.com/issue/TW-21780
Please watch/vote for it.
Thank you for feedback
Maven extension gitflow incremental builder may be your friend. If you have multi-module maven project and you need to build or test only modules containing changes between two branches e.g. develop is usually stable and feature branches are not.
See https://github.com/vackosar/gitflow-incremental-builder