Details
-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:
-
Similar Issues:
-
Epic Link:
-
Sprint:pacific, atlantic, 1.0-b05/b-06, indian, arctic, tasman, christmas
Description
A pipeline can pause and ask for user input at any point.
This needs to be exposed via the blue ocean REST api - both that it is waiting, but also that it can take a POST of data to acknowledge it. The input may take the form of Yes/No or it may be a richer set of input.
In Scope:
- API to fetch any pipelines blocked on "input" (for current user)
- API to fetch what input is required from user (so a form can be built up on the client)
- API to post confirmation from user (binary yes/no)
- API to take a post of data from user (for non yes/no)
(these are not necessarily separate unrelated apis, just that there needs to be support for those types of features)
Out of scope:
(perhaps we should start with simple yes/no)
Attachments
Issue Links
- blocks
-
JENKINS-38494 User can see the input form on an input step (UI)
-
- Resolved
-
- relates to
-
JENKINS-38491 Add new "waitingForInput" status to API for runs, dag and steps
-
- Resolved
-
-
JENKINS-38804 API(s) for capturing parameters for parametrised pipeline jobs
-
- Resolved
-
James Dumay I think this, and the linked front end ticket, may require some more investigation as to what exactly is required. The current stage viewer can only say "yes/no" to input, pipeline allows more types of input. Do we support them all? A common user request is in the "approval" popover, that pipeline authors could put in some URL/html info (which may depend on context of execution) providing the approver with more context (it's still a yes/no answer, but more info). Thoughts?