@Extension(ordinal=-1000.0,
optional=true)
public class PipelineAsYAMLDefinitionProvider
extends PipelineDefinitionProvider
| Constructor and Description |
|---|
PipelineAsYAMLDefinitionProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
instrumentJob(org.jenkinsci.plugins.workflow.job.WorkflowJob job,
io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions runOptions)
Configures the Pipeline job.
|
boolean |
matches(io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions options)
Check whether the extension point can provide a Pipeline for the request.
|
allpublic boolean matches(io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions options)
PipelineDefinitionProvidermatches in class PipelineDefinitionProvideroptions - run optionstrue if the extension can produce the Pipeline definitionpublic void instrumentJob(org.jenkinsci.plugins.workflow.job.WorkflowJob job,
io.jenkins.jenkinsfile.runner.bootstrap.commands.PipelineRunOptions runOptions)
throws IOException
PipelineDefinitionProviderinstrumentJob in class PipelineDefinitionProviderjob - Job to be updatedIOExceptionCopyright © 2004–2021. All rights reserved.