Package org.jenkinsci.plugin.gitea.client.api


package org.jenkinsci.plugin.gitea.client.api
Client API for Gitea. Ideally this would be a separate non-Jenkins plugin dependency. This client is designed to not require any Jenkins classes. (Note there is one Jenkins specific detail around classloaders in Gitea.jenkinsPluginClassLoader()).

Usage

The entry point to this API is the Gitea class. Use this class to establish a GiteaConnection to the server, e.g.
 try (GiteaConnection c = Gitea.server(...).as(...).open()) {
     // do stuff with the connection
 }