Class BuildWithEiffelStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.pipeline.build.BuildWithEiffelStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class BuildWithEiffelStep extends org.jenkinsci.plugins.workflow.steps.Step
Defines a pipeline step that is a modified copy ofBuildTriggerStep
to trigger a downstream build with a custom activity name set in the Eiffel activity eventEiffelActivityTriggeredEvent
ActT. The step execution is overridden to use a modified copy ofBuildTriggerStepExecution
that will add a new build actionEiffelActivityDataAction
to the downstream build that stores the ActT activity name. This action is then used inQueueListenerImpl
to override the activity name when a new ActT is fired as the downstream build enters a waiting state in the build queue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildWithEiffelStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BuildWithEiffelStep(String job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActivityName()
String
getJob()
List<ParameterValue>
getParameters()
Integer
getQuietPeriod()
boolean
getWait()
boolean
getWaitForStart()
boolean
isPropagate()
void
setActivityName(String activityName)
void
setParameters(List<ParameterValue> parameters)
void
setPropagate(boolean propagate)
void
setQuietPeriod(Integer quietPeriod)
void
setWait(boolean wait)
void
setWaitForStart(boolean waitForStart)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
BuildWithEiffelStep
@DataBoundConstructor public BuildWithEiffelStep(String job)
-
-
Method Detail
-
getActivityName
public String getActivityName()
-
setActivityName
@DataBoundSetter public void setActivityName(String activityName)
-
getJob
public String getJob()
-
getParameters
public List<ParameterValue> getParameters()
-
setParameters
@DataBoundSetter public void setParameters(List<ParameterValue> parameters)
-
getWait
public boolean getWait()
-
setWait
@DataBoundSetter public void setWait(boolean wait)
-
getWaitForStart
public boolean getWaitForStart()
-
setWaitForStart
@DataBoundSetter public void setWaitForStart(boolean waitForStart)
-
getQuietPeriod
public Integer getQuietPeriod()
-
setQuietPeriod
@DataBoundSetter public void setQuietPeriod(Integer quietPeriod)
-
isPropagate
public boolean isPropagate()
-
setPropagate
@DataBoundSetter public void setPropagate(boolean propagate)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-