Class GitLabConnectionProperty

java.lang.Object
hudson.model.JobProperty<Job<?,?>>
com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
All Implemented Interfaces:
ExtensionPoint, Describable<JobProperty<?>>, ReconfigurableDescribable<JobProperty<?>>, BuildStep

public class GitLabConnectionProperty extends JobProperty<Job<?,?>>
Author:
Robin Müller
  • Constructor Details

    • GitLabConnectionProperty

      @DataBoundConstructor public GitLabConnectionProperty(String gitLabConnection)
  • Method Details

    • getGitLabConnection

      public String getGitLabConnection()
    • getJobCredentialId

      public String getJobCredentialId()
    • isUseAlternativeCredential

      public boolean isUseAlternativeCredential()
    • setJobCredentialId

      @DataBoundSetter public void setJobCredentialId(String jobCredentialId)
    • setUseAlternativeCredential

      @DataBoundSetter public void setUseAlternativeCredential(boolean useAlternativeCredential)
    • getClient

      public GitLabClient getClient()
    • getClient

      public static GitLabClient getClient(@NonNull Run<?,?> build)