Class DockerBuildStepPipelineStepGeneratorPostprocessor
- java.lang.Object
-
- jetbrains.buildServer.pipeline.impl.postprocessor.DockerBuildStepPipelineStepGeneratorPostprocessor
-
- All Implemented Interfaces:
PipelineStepGeneratorPostprocessor
@Component public class DockerBuildStepPipelineStepGeneratorPostprocessor extends Object implements PipelineStepGeneratorPostprocessor
-
-
Constructor Summary
Constructors Constructor Description DockerBuildStepPipelineStepGeneratorPostprocessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PipelineDescription.Job.Step>
postProcessBeforeInitialization(PipelineDescription.Job job, PipelineDescription.Job.Step step)
Patches the build steps by replacing each step with list of generated steps.static String
toImageName(PipelineDescription.Job job, PipelineDescription.Job.Step step)
-
-
-
Method Detail
-
postProcessBeforeInitialization
public List<PipelineDescription.Job.Step> postProcessBeforeInitialization(PipelineDescription.Job job, PipelineDescription.Job.Step step)
Description copied from interface:PipelineStepGeneratorPostprocessor
Patches the build steps by replacing each step with list of generated steps.- Specified by:
postProcessBeforeInitialization
in interfacePipelineStepGeneratorPostprocessor
- Parameters:
job
- the original job.step
- the step to be patched or replaced.- Returns:
- The list of the steps, which should replace current step. If return empty list, then the step will be completely dropped.
-
toImageName
@NotNull public static String toImageName(PipelineDescription.Job job, PipelineDescription.Job.Step step)
-
-