-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins 2.303.1, Gitea plugin 1.2.1, Gitea server version: 1.14.3
I created a multibranch job with several branches for some testing. When I reached 30 branches, the Gitea plugin stopped adding new branches to the multibranch job. I switched to GitHub branch source plugin and it was able to continue adding branches.
I searched for a Gitea branch scanning limit and did not find one in the Gitea configuration. However, I'm an inexperienced Gitea administrator and may have missed something in the configuration settings.
- duplicates
-
JENKINS-63048 gitea API added general pagination in 1.12.x (potentially affecting repo listings)
-
- Closed
-
We had a similar problem concerning repositories of an organziation. I assume your issue is related.
The problem is that the default number of results per page of the gitea api is 30 items.
Gitea allows you to overwrite this default value in its configuration (app.ini) with the variable DEFAULT_PAGING_NUM in section 'api':
Here is the link to the gitea documentation: https://docs.gitea.io/en-us/config-cheat-sheet/#api-api
Hope this helps