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 of
BuildTriggerStep
to trigger a downstream build
with a custom activity name set in the Eiffel activity event EiffelActivityTriggeredEvent
ActT.
The step execution is overridden to use a modified copy of BuildTriggerStepExecution
that will
add a new build action EiffelActivityDataAction
to the downstream build that stores
the ActT activity name. This action is then used in QueueListenerImpl
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/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJob()
boolean
getWait()
boolean
boolean
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) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
BuildWithEiffelStep
-
-
Method Details
-
getActivityName
-
setActivityName
-
getJob
-
getParameters
-
setParameters
-
getWait
public boolean getWait() -
setWait
@DataBoundSetter public void setWait(boolean wait) -
getWaitForStart
public boolean getWaitForStart() -
setWaitForStart
@DataBoundSetter public void setWaitForStart(boolean waitForStart) -
getQuietPeriod
-
setQuietPeriod
-
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
-