Class WriteMavenPomStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.pipeline.utility.steps.maven.WriteMavenPomStep
- All Implemented Interfaces:
- ExtensionPoint,- Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class WriteMavenPomStep
extends org.jenkinsci.plugins.workflow.steps.Step
Writes a maven pom file to the current working directory.
- Author:
- Robert Sandell <rsandell@cloudbees.com>.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Constructor Details- 
WriteMavenPomStep@DataBoundConstructor public WriteMavenPomStep(org.apache.maven.model.Model model) 
 
- 
- 
Method Details- 
getFileOptional name of the maven file to write. If empty 'pom.xml' in the current working directory will be used.- Returns:
- file name
 
- 
setFileOptional name of the maven file to write. If empty 'pom.xml' in the current working directory will be used.- Parameters:
- file- file name
 
- 
getModel@CheckForNull public org.apache.maven.model.Model getModel()
- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
 
-