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

Inverse build strategy is building when there are no changes on a branch

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 2.59
      Git plugin: 3.3.0

      I setup a job to build feature branches and skip the master branch. I do this by specifying "*/master" as the branch to build and then inverse as the choosing strategy. I have the job setup to poll SCM every 15 minutes (I don't have access to change the hooks).

      When I push changes to a branch other than master, the job does as expected and builds the branch. However when I push changes to master, the job runs and builds the last branch it built. I left this overnight and have a build every 15 minutes of the same commit.

          [JENKINS-44343] Inverse build strategy is building when there are no changes on a branch

            Unassigned Unassigned
            jpschewe jpschewe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: