Class GithubPipelineCreateRequest
java.lang.Object
io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
io.jenkins.blueocean.blueocean_github_pipeline.GithubPipelineCreateRequest
public class GithubPipelineCreateRequest
extends io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest.JenkinsfileCriteria
-
Field Summary
Fields inherited from class io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
scmConfig
-
Constructor Summary
ConstructorDescriptionGithubPipelineCreateRequest
(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
computeCredentialId
(io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) protected jenkins.scm.api.SCMSource
createSource
(jenkins.branch.MultiBranchProject project, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) protected io.jenkins.blueocean.scm.api.AbstractScmSourceEvent
getScmSourceEvent
(jenkins.branch.MultiBranchProject project, jenkins.scm.api.SCMSource source) protected List<io.jenkins.blueocean.commons.ErrorMessage.Error>
Methods inherited from class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
create, repoHasJenkinsFile
Methods inherited from class io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
checkUserIsAuthenticatedAndHasItemCreatePermission, createProject, getParent
Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
getName, setName
-
Constructor Details
-
GithubPipelineCreateRequest
@DataBoundConstructor public GithubPipelineCreateRequest(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
-
-
Method Details
-
createSource
protected jenkins.scm.api.SCMSource createSource(@NonNull jenkins.branch.MultiBranchProject project, @NonNull io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) - Specified by:
createSource
in classio.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
-
getScmSourceEvent
@Nullable protected io.jenkins.blueocean.scm.api.AbstractScmSourceEvent getScmSourceEvent(@NonNull jenkins.branch.MultiBranchProject project, @NonNull jenkins.scm.api.SCMSource source) - Overrides:
getScmSourceEvent
in classio.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
-
validate
protected List<io.jenkins.blueocean.commons.ErrorMessage.Error> validate(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) - Specified by:
validate
in classio.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
-
computeCredentialId
- Specified by:
computeCredentialId
in classio.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
-