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

Downstream maven project not triggered on the right SCM branch


      I have a maven project: myApplication stored on a git repository. It depends on another project myLibrary stored on another git repository. myApplication and myLibrary have a develop and release-candidate versions pushed on distinct branches.

      I configured a jenkins job to poll the develop and release-candidate branches of myApplication. Another jenkins job polls develop and release-candidate branches of myLibrary. I also configured the Jenkins job for myApplication to "Build whenever a snapshot dependency is build".

      When a SNAPSHOT of the develop version of myLibrary is build, it should trigger build using the develop branch of myLibrary.

      This is not currently the case:
      It doesn't trigger a build of myApplication on the develop branch but on the last branch, which can be develop or release-candidate.

      Thank you.

            Unassigned Unassigned
            mmbouallagui MM Bouallagui
            0 Vote for this issue
            1 Start watching this issue