Class SshRepositoryUriResolver

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

public class SshRepositoryUriResolver extends RepositoryUriResolver
A RepositoryUriResolver that resolves SSH git URLs.
  • Constructor Details

    • SshRepositoryUriResolver

      public SshRepositoryUriResolver()
  • 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.