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

multibranch pipeline job notified by stash, mutliple job/projects build

    Details

    • Similar Issues:

      Description

      Hi,

      we have a case where we receive a notifyCommit command from our Stash server for a specific repo/branch which triggers (seemingly random) builds for other jobs/repos as well. If we receive another notifyCommit within a few minutes all seems to work correctly, but after a while (>10 min), receiving another notifyCommit causes the same issues again.

      We see the following on all jobs that start building:

      [Tue Feb 21 15:22:43 UTC 2017] Received jenkins.plugins.git.GitSCMSource$ListenerImpl$1 UPDATED event from X.X.X.X ⇒ http://<domain>:55642/git/notifyCommit with timestamp Tue Feb 21 15:22:22 UTC 2017
       > git rev-parse --is-inside-work-tree # timeout=10
      .....
      Checking branch master
            'Jenkinsfile' found
      Met criteria
      Takeover for project-name » master by source #1 from source that no longer exists
      Branch reopened: master (4171412e6dd9104cd760f575bf11ae74e0a32849)
      Scheduled build for branch: master
      

      Everytime we see the following two confusing lines:

      Takeover for project-name » master by source #1 from source that no longer exists
      Branch reopened: master (4171412e6dd9104cd760f575bf11ae74e0a32849)

      We are 100% sure nothing changed for master and there is no need to schedule a build.

        Attachments

          Issue Links

            Activity

            rolphh Rolph Haspers created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Component/s git-plugin [ 15543 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            abayer Andrew Bayer made changes -
            Component/s scm-api-plugin [ 18054 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            Component/s pipeline [ 21692 ]
            rolphh Rolph Haspers made changes -
            Component/s multi-branch-project-plugin [ 21127 ]
            rolphh Rolph Haspers made changes -
            Component/s branch-api-plugin [ 18621 ]
            jglick Jesse Glick made changes -
            Component/s multi-branch-project-plugin [ 21127 ]
            Component/s scm-api-plugin [ 18054 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            Labels regression
            recampbell Ryan Campbell made changes -
            Labels regression regression scm-api-tidy-scrub
            stephenconnolly Stephen Connolly made changes -
            Link This issue duplicates JENKINS-42236 [ JENKINS-42236 ]
            stephenconnolly Stephen Connolly made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            stephenconnolly Stephen Connolly made changes -
            Assignee Stephen Connolly [ stephenconnolly ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                rolphh Rolph Haspers
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: