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

          jpschewe created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Summary Original: Inverse build stragety is building when there are no changes on a branch New: Inverse build strategy is building when there are no changes on a branch
          jpschewe made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          jpschewe made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Mark Waite made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

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

              Created:
              Updated: