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

join plugin doens't work with maven snapshot triggering

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • join-plugin 1.16, maven-plugin 2.12, jenkins 1.628

      We have a quite complex maven hierarchy which builds components and services, and them packages them in different maven jobs.

      We currently use the maven plugins build when snapshot dependencies are built triggering to trigger downstream builds.

      I would like to be able to use join-plugin to trigger a integration test when all the dependent maven projects are built.

      From my testing it looks like join-plugin doesn't mange to figure out that the maven snapshot triggers are downstream builds. I did take a look at the source for the join-plugin and i couldn't really figure out how to dig up the maven dependencies and add them as downstreams there.

          [JENKINS-30335] join plugin doens't work with maven snapshot triggering

          mdonohue added a comment -

          I don't use maven much - can you give a simple example that triggers this? Can it be reproduced entirely in Jenkins, or do I need a certain maven pom file as well?

          mdonohue added a comment - I don't use maven much - can you give a simple example that triggers this? Can it be reproduced entirely in Jenkins, or do I need a certain maven pom file as well?

          Anton Lundin added a comment -

          You could probably use https://github.com/barchart/barchart-jenkins-tester as a basis for your poms to test with.

          Test to configure the individual modules as maven projects in jenkins, and let the build when snapshot dependencies are built triggering wire up the dependencies between the different projects.

          Then try to add a join trigger to any of the upstreams.

          Anton Lundin added a comment - You could probably use https://github.com/barchart/barchart-jenkins-tester as a basis for your poms to test with. Test to configure the individual modules as maven projects in jenkins, and let the build when snapshot dependencies are built triggering wire up the dependencies between the different projects. Then try to add a join trigger to any of the upstreams.

            mdonohue mdonohue
            glance Anton Lundin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: