-
Improvement
-
Resolution: Duplicate
-
Major
-
None
I have two modules (A and B). B depends on A
I set up as incremental build for maven. As post-build task I selected Deployment to maven repository.
(1) One checks-in to A and B, the build fails on module B and both modules are not deployed.
(2) Someone else checks in to A, the build does A and B, fails on B so A and B are not deployed.
(3) The first one fixes his code and checks in on B. The build does only B, success and only B is deployed.
But now module A is never deployed. We have an old version of A and a new version of B in the maven repository.
In my opinion A should have been deployed in step 3 also. It is no option to do it in step 2, because A will already have changes from step 1, and B will be out of sync in the repository.
- duplicates
-
JENKINS-5121 Deploy all built modules on success, including from previous failed builds
- Resolved
- is related to
-
JENKINS-5764 incremental builds leave modules unbuilt upon failure
- Resolved