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

GitHub App installed in multiple organizations get "Found multiple installations for GitHub app ID x but none match credential owner ""."

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins 2.452.2
      GitHub Branch Source Plugin 1790.v5a_7859812c8d

      Hello,

      I have a GitHub App that is added to multiple organizations, and have these organizations' multibranch pipelines set up in the same Jenkins Instance. I have setup the GitHub app credentials secret and left the Owner in the Advanced section empty. This setup was working until I updated my GitHub Branch Source Plugin. The working version was 1789.v5b_0c0cea_18c3. Now, in version 1790.v5a_7859812c8d, when I try to scan the repository, or replay a build, I get:

      java.lang.IllegalArgumentException: Found multiple installations for GitHub app ID XX but none match credential owner "". Set the right owner in the credential advanced options to one of: X, Y, Z, etc.

      Is there a change in the latest version? Am I doing a step incorrectly? I would love to get some guidance on this, thank you!

          [JENKINS-73474] GitHub App installed in multiple organizations get "Found multiple installations for GitHub app ID x but none match credential owner ""."

          Hi! I just confirm this is regression introduced in 1790 and proposed https://github.com/jenkinsci/github-branch-source-plugin/pull/803

          Jérôme Pochat added a comment - Hi! I just confirm this is regression introduced in 1790 and proposed https://github.com/jenkinsci/github-branch-source-plugin/pull/803

            jpochat Jérôme Pochat
            ak2411 Angelica
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: