Class AskInteractiveStepExecution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
io.jenkins.plugins.interactiveinput.step.AskInteractiveStepExecution
- All Implemented Interfaces:
Serializable
public class AskInteractiveStepExecution
extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
Durable, restart-safe execution for
AskInteractiveStep.
Mirrors pipeline-input-step's InputStepExecution (verified against release
560.v56198a_642157): start() returns false so the CPS thread is released and the
pipeline is genuinely paused; the QuestionStore resumes the pipeline via
StepContext.onSuccess(java.lang.Object)/FutureCallback.onFailure(java.lang.Throwable) when a human answers.
For auditability it also mirrors the built-in input step's console UX: it logs an
anchored console link to the per-build audit page and marks the flow node "paused" (so stage/flow
views show a pause), then logs the resolved outcome (who answered/aborted, and what was chosen)
when the question settles.
- See Also:
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
injectMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
acceptAll, acceptAll, applyAll, applyAll, blocksRestart, getContext, getStatus, getStatusBounded
-
Method Details
-
start
- Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.StepExecution- Throws:
Exception
-
stop
- Overrides:
stopin classorg.jenkinsci.plugins.workflow.steps.StepExecution- Throws:
Exception
-
onResume
public void onResume()- Overrides:
onResumein classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
getQuestionId
-