-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 2.235.1 with gitea-plugin 1.2.1
gitea version 1.12.2
We were observing jobs suddenly being disabled in Jenkins after each organisation scan and only a small amount of projects still enabled, actually the ones with the latests commits. This actually led to projects being discarded.
It appears that gitea as added pagination to API requests in general via https://github.com/go-gitea/gitea/pull/9452 with its 1.12 update. I strongly suspect this to be the root cause of the observed behaviour.
- blocks
-
JENKINS-64059 Scan Gitea Organization limited to 30 repositories
-
- Closed
-
- is duplicated by
-
JENKINS-66594 Gitea plugin stops multibranch scan at 30 branches
-
- Closed
-
- is related to
-
JENKINS-64611 Project disabled in Gitea org folder
-
- Closed
-
- links to
As a workaround, we were able to set the default page size in the gitea config (app.ini) via
[api]
DEFAULT_PAGING_NUM = 500
The organization scan now fetches the formerly "lost" repositories again. Which also shows that pagination was the reason for the loss of jobs in Jenkins.