-
Story
-
Resolution: Fixed
-
Critical
-
-
pacific, atlantic, 1.0-b05/b-06, indian, arctic, tasman, christmas
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)
- 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
-
[JENKINS-35795] API(s) for acknowledging request for user input in a pipeline
Epic Link | New: UX-165 [ 25873 ] |
Labels | New: api |
Rank | New: Ranked higher |
Rank | New: Ranked lower |
Description |
Original:
A pipeline can pause and ask for user input at any point. This needs to be exposed somehow via the blue ocean REST api - both that it is waiting, but also that it can take a POST of data to acknowlege it. The input may take the form of Yes/No or it may be a richer set of input. |
New:
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 |
Description |
Original:
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 |
New:
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 * API to post confirmation from user (binary yes/no) * API to take a post of data from user (for non yes/no) Out of scope: (perhaps we should start with simple yes/no) |
See https://cloudbees.atlassian.net/browse/UX-390
I am not sure if there is a spec for the type of input that pipeline can support. I use the snippet builder to see what options there are (try it).
The current stage view in Jenkins 2.0 only supports yes/no, but I think we need to support a bit more (not sure how this affects the API though, maybe not at all as it can just pass though).