Class HttpsRepositoryUriResolver

java.lang.Object
org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
org.jenkinsci.plugins.github_branch_source.HttpsRepositoryUriResolver

public class HttpsRepositoryUriResolver extends RepositoryUriResolver
A RepositoryUriResolver that resolves HTTP git URLs.
  • Constructor Details

    • HttpsRepositoryUriResolver

      public HttpsRepositoryUriResolver()
  • Method Details

    • getRepositoryUri

      public String getRepositoryUri(String apiUri, String owner, String repository)
      Resolves the URI of a repository.
      Specified by:
      getRepositoryUri in class RepositoryUriResolver
      Parameters:
      apiUri - the API URL of the GitHub server.
      owner - the owner of the repository.
      repository - the name of the repository.
      Returns:
      the GIT URL of the repository.