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

0
7 comments

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?

0
Avatar
Permanently deleted user

Hi,

here is a build log with comments.

Thanks
Torsten



Attachment(s):
incremental.log.zip
0
Avatar
Permanently deleted user

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
0

Thank you very much for pointing this out and providing an example.

0
Avatar
Permanently deleted user

Do You file an issue for that?

0

Here is the issue: http://youtrack.jetbrains.com/issue/TW-21780


Please watch/vote for it.

Thank you for feedback

0
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.