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

Git plugin doesn't build jobs that use the inverse build strategy for new branches

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins: 1.554.2
      Git plugin: 2.2.1

      I have 2 jobs, one that builds the master branch and one that builds the feature branches. The feature branch build uses the inverse build strategy. Both jobs are setup to use polling with no interval specified as they are notified by using the commit hook on my git repository.

      When notifying for changes for a new branch I'm told that no jobs are using the repository.
      You can see an example
      https://mtu.net/jenkins/git/notifyCommit?url=https%3A%2F%2Fgithub.com%2Fjpschewe%2Ffll-sw&from=github&branches=test-branch

      The attached default.png shows the configuration settings for the master branch job. The inverse.png shows the configuration for the feature branch build.

      The git polling log for both jobs shows no activity after visiting the notifyCommit URL.

            markewaite Mark Waite
            jpschewe jpschewe
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: