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

Incremental build in Maven with dependency changes

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None

      Maven project type can do incremental builds where changes in SCM narrows down the subset of modules to be built. It would be useful to do the same when SNAPSHOT dependencies changes and triggers builds.

          [JENKINS-19487] Incremental build in Maven with dependency changes

          ravn added a comment -

          The use case for this is that we have a two step process for shipping test releases of product P to customers A and B. Step 1 builds the snapshot artifact for P in a separate maven module. Step 2 then has a maven umbrella project containing many modules - one pr product pr customer - responsible for assembling the exact bits to go to that customer, here it would be P_A for product P to customer A and P_B for product P to customer B (and many more like Q_A, Q_B, and Q_C) and for simplicity's sake we point Jenkins to the root of the umbrella project which works very nicely except we would like for only P_A and P_B to be rebuilt when P is updated instead of all modules under the umbrella project.

          ravn added a comment - The use case for this is that we have a two step process for shipping test releases of product P to customers A and B. Step 1 builds the snapshot artifact for P in a separate maven module. Step 2 then has a maven umbrella project containing many modules - one pr product pr customer - responsible for assembling the exact bits to go to that customer, here it would be P_A for product P to customer A and P_B for product P to customer B (and many more like Q_A, Q_B, and Q_C) and for simplicity's sake we point Jenkins to the root of the umbrella project which works very nicely except we would like for only P_A and P_B to be rebuilt when P is updated instead of all modules under the umbrella project.

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: