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

After jenkins restarts, the webhook event occasionally cannot be monitored

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In the case of multiple multi-branch projects and using the same gitlab code repository, after restarting jenkins, only certain projects can receive events and trigger event processing

        Attachments

          Issue Links

            Activity

            conan17 li yinan created issue -
            Hide
            mymarche Mikhail Marchenko added a comment -

            Hello,

            I have similar trouble.

            After restart Jenkins got Webhooks, but he doesn't processing their after this line https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/5591e512558223a0282eeb0275de09c3a470f7b4/src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabWebHookListener.java#L42 . 

            If after restart Jenkins run "Scan GitLab Project Now" in all multibranch jobs, webhooks will begin processing as was planned.

            Show
            mymarche Mikhail Marchenko added a comment - Hello, I have similar trouble. After restart Jenkins got Webhooks, but he doesn't processing their after this line https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/5591e512558223a0282eeb0275de09c3a470f7b4/src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabWebHookListener.java#L42  .  If after restart Jenkins run "Scan GitLab Project Now" in all multibranch jobs, webhooks will begin processing as was planned.
            mymarche Mikhail Marchenko made changes -
            Field Original Value New Value
            Environment gitlab-branch-source-plugin 1.4.0 gitlab-branch-source-plugin 1.4.0
            scm-api-plugin 2.6.3
            mymarche Mikhail Marchenko made changes -
            Component/s scm-api-plugin [ 18054 ]
            surenpi Rick made changes -
            Assignee Parichay Barpanda [ baymac ] Rick [ surenpi ]
            surenpi Rick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            surenpi Rick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            surenpi Rick made changes -
            Remote Link This issue links to "Pull Request Linke (Web Link)" [ 24037 ]
            surenpi Rick made changes -
            Remote Link This issue links to "Pull Request Linke (Web Link)" [ 24037 ]
            surenpi Rick made changes -
            Remote Link This issue links to "Pull Request Link (Web Link)" [ 24038 ]
            surenpi Rick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            surenpi Rick made changes -
            Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]
            Hide
            mymarche Mikhail Marchenko added a comment -

            Released in 1.5.1

            Show
            mymarche Mikhail Marchenko added a comment - Released in 1.5.1
            mymarche Mikhail Marchenko made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]

              People

              Assignee:
              surenpi Rick
              Reporter:
              conan17 li yinan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: