Set gitea commit status with Jenkins

2.2k Views Asked by At

I want to set the commit status on my gitea server after a build in jenkins.

Gitea has the endpoint for that, but in my build steps I don't see the option for that. Also, I have already installed gitea plugin (https://wiki.jenkins.io/display/JENKINS/Gitea+Plugin)

Has anyone figure out how to setup this in jenkins?

enter image description here

enter image description here

Update: Added screenshot with the gitea communication errorenter image description here

1

There are 1 best solutions below

3
On BEST ANSWER

Ok, I found it. Gitea-plugin allows you to create a new kind of job. You have to configure your gitea server in Jenkins-> Manage Jenkins -> Configure System.

After that you only have to create a new job of kind Gitea Organization. This will do all work without setting nothing more.

I recommend too, setting up Gitea webhook to Jenkins