Jenkins ver. 2.222.3
Gitea Plugin 1.2.0
Firefox 76.0.1 (64-bit)
OpenJDK Runtime Environment (build 1.8.0_242-b08)
Running project builds as User who Triggered Build fail. Builds can only be run as SYSTEM. Appears to be a failure to authenticate the jenkins user in the Gitea repo:
However, when first creating the Gitea organisation in Jenkins, the scan of the organization works correctly and all branches in the repo are correctly built, even if the Gitea organization is created as User who Triggered Build. The problem only occurs when creating individual builds for a selected branch.
Creating builds as SYSTEM is not secure as noted here: