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

Private Gitea repositories are not visible

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have an organisation with only private repositories. When I try to create a build the list of repositories stays empty. When I type a user or organisation without private repositories, the list gets filled with the non-private repositories

        Attachments

          Activity

          Hide
          j123b567 Jan Breuer added a comment -

          I don't have "Authorize Project" plugin installed so this should not be a problem for me.

          Thank you for ideas, but they are all non-solutions for me. Deleting all configurations means deleting all artifacts of all repositories and then performing timeconsuming rebuild of everything. This is simply not possible for me.

          Show
          j123b567 Jan Breuer added a comment - I don't have "Authorize Project" plugin installed so this should not be a problem for me. Thank you for ideas, but they are all non-solutions for me. Deleting all configurations means deleting all artifacts of all repositories and then performing timeconsuming rebuild of everything. This is simply not possible for me.
          Hide
          mecseid Daniel Mecsei added a comment -

          Jan Breuer, could you send some step to reproduce the problem?

          I tried with these steps and can't reproduce it:

          1. Created private organisation (orgA) in Gitea with 2 private repository
          2. Created a team with only read permission and code access
          3. Added an user (userA) and the private repositories to the previously created team
          4. Added gitea server without credentials to Jenkins (not checked webhook management)
          5. Created new credential for gitea with userA
          6. Added new Gitea Organisation item with gitea server for orgA with userA credentials

          The org. scanner found the private repositores.

          I used gitea 1.11.6, and gitea plugin 1.2.1

          Show
          mecseid Daniel Mecsei added a comment - Jan Breuer , could you send some step to reproduce the problem? I tried with these steps and can't reproduce it: Created private organisation (orgA) in Gitea with 2 private repository Created a team with only read permission and code access Added an user (userA) and the private repositories to the previously created team Added gitea server without credentials to Jenkins (not checked webhook management) Created new credential for gitea with userA Added new Gitea Organisation item with gitea server for orgA with userA credentials The org. scanner found the private repositores. I used gitea 1.11.6, and gitea plugin 1.2.1
          Hide
          j123b567 Jan Breuer added a comment -

          I can confirm, that with gitea 1.11.1, gitea plugin 1.2.1, jenkins 2.240 it works now.

           

          I have switched all jenkins users on all my gitea instances to regular users,  create teams with readonly access for all organisations and jenkins still can find new repositories and build old ones.

          I have some instancies with LDAP, but still no problem.

           

          Great!

          Show
          j123b567 Jan Breuer added a comment - I can confirm, that with gitea 1.11.1, gitea plugin 1.2.1, jenkins 2.240 it works now.   I have switched all jenkins users on all my gitea instances to regular users,  create teams with readonly access for all organisations and jenkins still can find new repositories and build old ones. I have some instancies with LDAP, but still no problem.   Great!
          Hide
          j123b567 Jan Breuer added a comment -

          Ok, so last blockers to not to use admin account for jenkins is JENKINS-60017 but it is another issue so it is possible to close this one.

          Show
          j123b567 Jan Breuer added a comment - Ok, so last blockers to not to use admin account for jenkins is JENKINS-60017 but it is another issue so it is possible to close this one.
          Hide
          justusbunsi Steven added a comment -

          Closing this. Private repositories are possible these days.

          Show
          justusbunsi Steven added a comment - Closing this. Private repositories are possible these days.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rikvdh Rik van der Heijden
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: