Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5639

Missing modules in deploying to maven repository in Incremental build

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • deploy-plugin
    • 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.

            Unassigned Unassigned
            bjansen bjansen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: