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

"Found match against..." hangs at non-existent repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • branch-api-plugin
    • None

      Hi,

      We are trying to trigger multibranch jobs (via cloudbees-bitbucket-branch-source), and it is failing for jobs that are lower in alphanumeric order. Affected jobs' multibranch pipeline events page just shows: "No events as of Sat May 22 09:39:30 BST 2021, waiting for events..." and they do not start.

      Inspecting jenkins.branch.MultiBranchProject.log shows:

      [Sat May 22 11:07:29 BST 2021] Received com.atlassian.bitbucket.jenkins.internal.trigger.BitbucketWebhookConsumer$BitbucketSCMHeadEvent UPDATED event from job40 with timestamp Sat May 22 11:07:29 BST 2021
       Found match against job1
       Found match against job2
       Found match against job3
       ....
       Found match against job36

      Upon inspecting job36, we noticed the git repo in its config does not exist.  And when we disabled this job, the "Found match ..." lines proceeded past this and processed the rest of the jobs, including the one we wanted to trigger (job40), which started successfully.

      branch-api-plugin should tolerate such misconfigured jobs that have a non-existent repo, and not block jobs after it triggering. This might have also been the cause of JENKINS-63815.  We are on branch-api-plugin v2.6.3 & Jenkins v2.277.4

      Many thanks

            Unassigned Unassigned
            brendanh Brendan Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: