After PR from develop to master branch is merged the master gets rebuild.

      After master is rebuild the develop branch is rebuild again.

      I have no clue how to prevent it, or why it is doing so.

      The settings are mostly default:

      Branch indexing on the develop build lists no conditions reasoning the build:

      Started by user USER
      [Wed May 16 14:30:58 BST 2018] Starting branch indexing...
      Connecting to https://stash.company.com using chesterfield.develop/******
      Repository type: Git
      Looking up TEAM/project for branches
      Checking branch master from TEAM/project
      ‘Jenkinsfile’ found
      Met criteria
      No changes detected: master (still at 038d70a557fdb729605cbfb6294046aeed021e9a)
      Checking branch develop from TEAM/project
      ‘Jenkinsfile’ found
      Met criteria
      No changes detected: develop (still at 0324b17db5bf16cc5d9c069fe940b45dcd8c87d0)
      Checking branch feature/xunit-is-build-requirement from TEAM/project
      ‘Jenkinsfile’ found
      Met criteria
      No changes detected: feature/F01 (still at 327f99724ee027c01c8bfb535652b8513f2f0b35)
      Checking branch documentation from TEAM/project
      ‘Jenkinsfile’ found
      Met criteria
      No changes detected: documentation (still at 3a6e3306cd54a41ec8fff1fd9ed6736f7ba0849d)
      
      4 branches were processed
      Looking up TEAM/project for pull requests
      
      0 pull requests were processed
      [Wed May 16 14:31:02 BST 2018] Finished branch indexing. Indexing took 3.2 sec
      Evaluating orphaned items in TEAM PROJECT » project
      Will not remove PR-12 as it is only #1 in the list
      Will not remove PR-11 as it is only #2 in the list
      Will not remove bugfix/B01 as it is only #3 in the list
      Will not remove PR-10 as it is only #4 in the list
      Will not remove PR-9 as it is only #5 in the list
      Will not remove PR-8 as it is only #6 in the list
      Will not remove feature/F01 as it is only #7 in the list
      Will not remove PR-6 as it is only #8 in the list
      Will not remove PR-5 as it is only #9 in the list
      Will not remove feature/F02 as it is only #10 in the list
      Will not remove PR-12 because it is new
      Will not remove PR-11 because it is new
      Will not remove bugfix/B02 because it is new
      Will not remove PR-10 because it is new
      Will not remove PR-9 because it is new
      Will not remove PR-8 because it is new
      Will not remove feature/F03 because it is new
      Will not remove PR-6 because it is new
      Will not remove PR-5 because it is new
      Will not remove feature/F04 because it is new
      Finished: SUCCESS
      

       

          [JENKINS-51365] Rebuild of master triggers rebuild of develop

          Jakub Pawlinski created issue -
          Nikolas Falco made changes -
          Assignee New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Nikolas Falco made changes -
          Link New: This issue duplicates JENKINS-52406 [ JENKINS-52406 ]

            nfalco Nikolas Falco
            quas Jakub Pawlinski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: