-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
gitea 1.6 RC2
jenkins 2.138.2
jenkins gitea plugin 1.0.8
-
-
1.2.1
The gitea REST API returns 404 instead of 200 when pull request or issues are disabled on a repository.
The jenkins plugin does not handle this case and fails when polling the repository (the repository is not listed at all).
I am not 100% sure the fault really is on the plugin side (gitea could return 200 with an empty list of pull requests), but the plugin could be more defensive in this case so that standard branches work even if the pull requests API call failed for whatever reason.