Class InteractiveViewStepExecution
- All Implemented Interfaces:
Serializable
InteractiveViewStep.
Non-blocking (default): the file is snapshotted into the ViewStore, an anchored console
link to the review page is logged, and the step completes synchronously returning the review id.
wait:true: mirrors AskInteractiveStepExecution exactly — start() returns
false to release the CPS thread and pause the pipeline; the store resumes it via
StepContext.onSuccess(java.lang.Object)/FutureCallback.onFailure(java.lang.Throwable) once a human records a decision (or the
SLA elapses). The decision is returned to the pipeline (approve/reject/acknowledge/
request-changes do not abort the run), so the pipeline can branch on the review outcome. The returned
map also carries the review's comments (inline, with their source line, plus general), so a
generator can course-correct on a CHANGES_REQUESTED verdict (the regenerate loop).
- 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
-
getViewId
-