Class GitHubSCMSourceBuilder

java.lang.Object
jenkins.scm.api.trait.SCMSourceBuilder<GitHubSCMSourceBuilder,GitHubSCMSource>
org.jenkinsci.plugins.github_branch_source.GitHubSCMSourceBuilder

public class GitHubSCMSourceBuilder extends jenkins.scm.api.trait.SCMSourceBuilder<GitHubSCMSourceBuilder,GitHubSCMSource>
A SCMSourceBuilder that builds GitHubSCMSource instances
Since:
2.2.0
  • Constructor Details

    • GitHubSCMSourceBuilder

      public GitHubSCMSourceBuilder(@CheckForNull String id, @CheckForNull String apiUri, @CheckForNull String credentialsId, @NonNull String repoOwner, @NonNull String repoName)
      Constructor.
      Parameters:
      id - the SCMSource.getId()
      apiUri - the GitHubSCMSource.getApiUri()
      credentialsId - the credentials id.
      repoOwner - the repository owner.
      repoName - the project name.
  • Method Details