• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • github-plugin
    • None

      Jenkins does not start the automatic build of my pipelines when the github webhook is sent.

      There is a remark in the log: "Skipped <REPO> because it doesn't have a matching repository.".

      A week ago everything was working, and now it has abruptly stopped working.

      I tried to change ssh keys and github tokens, run the build manually, change branches and links to the repository, but none of this was successful.

      I tried to execute the script (https://pastebin.com/jV6695VV )
      and got the answer:
      ajur_signup_pipeline is empty
      Empty SCM for job: ajur_signup_pipeline
      Chem-Reagents is empty
      Empty SCM for job: Chem-Reagents
      mersi_pipeline is empty
      Empty SCM for job: mersi_pipeline

      For some reason, Jenkins tells me that I have no information about SCM in my plans, but this is not the case

          [JENKINS-71360] Webhook pushes doesn't trigger any job

          Oleg created issue -
          Oleg made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Oleg made changes -
          Assignee Original: Kirill Merkushev [ lanwen ] New: Oleg [ lemar98 ]
          Oleg made changes -
          Assignee Original: Oleg [ lemar98 ] New: Kirill Merkushev [ lanwen ]

          Oleg added a comment -

          If I use a public repository then trigger works fine, but if I use a private repo (organization) then trigger are not worked. Used credentials is correct

          Oleg added a comment - If I use a public repository then trigger works fine, but if I use a private repo (organization) then trigger are not worked. Used credentials is correct

          Mario added a comment -

          Is there any update on this issue?
          I confirm that I am having the same problem.

          Mario added a comment - Is there any update on this issue? I confirm that I am having the same problem.
          Raimundas made changes -
          Comment [ Did some testing and seems it works fine with username and PAT of GH under Pipeline project with Jenkins version 2.401.2, after hook setup I ran build first time manually and then it worked over eventPush using /github-webhook/ for Jenkins.

          didn't tried with ssh, but I think it should work also. ]
          Raimundas made changes -
          Comment [ [~mariozelaschi] I did some testings also with private repo using username and GH PAT for Jenkins credentials under Repositories ... So.. I  ran job manually to check if my pipeline setup correct, then pushed changes to GH and it worked fine with Jenkins 2.401.2 ]
          Mario made changes -
          Comment [ After some more testing, it appears that is broken only in the Pipeline project while still works perfectly in the Freestyle project. ]

            lanwen Kirill Merkushev
            lemar98 Oleg
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: