-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:
-
Similar Issues:
-
Epic Link:
-
Sprint:frank, christmas
In Scope
- Step should show the "waiting for input" indicator.
- Input form should be shown where the log is usually shown.
- When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point)
- User cannot submit the form unless they have filled in all values.
- We will need to show a form validation message if the user tries to submit the form with empty values.
- The confirmation button label is "Continue"
- The button in the header is "Abort" which aborts the run.
- See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots
Before vivek left he was able to merge the first tranche of support for input.
This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input)
Creating the following pipeline and calling it "paused"
node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } }
Run it - and then go to the following URL:
http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/
And you will see:
{ "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" }
We can come up with more canonical examples of all input types once familiar with the api:
GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/ should report state==PAUSED, result==UNKNOWN
GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/nodes/ should report state==PAUSED, result==UNKNOWN for nodes parallelStage and right.
GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/ should report state==PAUSED, result==UNKNOWN for step id 12
When you drill into a step for a paused node you can see the input required:
Has an input value of:
"input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }
which is what the form is rendered from.
- is blocked by
-
JENKINS-35795 API(s) for acknowledging request for user input in a pipeline
-
- Resolved
-
-
JENKINS-38491 Add new "waitingForInput" status to API for runs, dag and steps
-
- Resolved
-
-
JENKINS-39371 Dialog component
-
- Resolved
-
-
JENKINS-39563 Basic form components
-
- Resolved
-
-
JENKINS-40587 API for submitting step input form
-
- Resolved
-
-
JENKINS-35899 Form to capture user input when pipeline is waiting for user input
-
- Closed
-
- is duplicated by
-
JENKINS-39395 Input cannot be approved on Blue Ocean pipeline UI
-
- Closed
-
Field | Original Value | New Value |
---|---|---|
Epic Link | JENKINS-38490 [ 174672 ] |
Rank | Ranked higher |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown. * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. |
Assignee | James Dumay [ jamesdumay ] |
Sprint | next [ 106 ] |
Rank | Ranked lower |
Link |
This issue is blocked by |
Link |
This issue is blocked by |
Priority | Minor [ 4 ] | Major [ 3 ] |
Link |
This issue is blocked by |
Summary | User can see the input form on an input step | User can see the input form on an input step (UI) |
Priority | Major [ 3 ] | Critical [ 2 ] |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots |
Sprint | atlantic [ 106 ] |
Sprint | indian [ 126 ] |
Rank | Ranked higher |
Sprint | indian [ 126 ] | arctic [ 131 ] |
Sprint | arctic [ 131 ] | arctic 2 [ 136 ] |
Sprint | arctic 2 [ 136 ] | arctic [ 131 ] |
Sprint | arctic [ 131 ] | arctic 2 [ 136 ] |
Sprint | tasman [ 136 ] | arctic [ 131 ] |
Rank | Ranked lower |
Attachment | Input Form.png [ 34625 ] |
Link |
This issue is blocked by |
Rank | Ranked higher |
Assignee | Thorsten Scherler [ tscherler ] |
Sprint | arctic [ 131 ] |
Sprint | tasman [ 136 ] |
Rank | Ranked higher |
Link |
This issue is blocked by |
Sprint | tasman [ 136 ] | frank [ 156 ] |
Rank | Ranked lower |
Sprint | frank [ 156 ] | frank 2 [ 161 ] |
Rank | Ranked higher |
Sprint | tethys [ 161 ] | frank [ 156 ] |
Rank | Ranked lower |
Rank | Ranked lower |
Rank | Ranked lower |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) Creating the following pipeline and calling it "paused" {noformat} node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } } {noformat} Run it - and then go to the following URL: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/ And you will see: {noformat} { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" } {noformat} We can come up with more canonical examples of all input types once familiar with the api |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) Creating the following pipeline and calling it "paused" {noformat} node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } } {noformat} Run it - and then go to the following URL: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/ And you will see: {noformat} { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" } {noformat} We can come up with more canonical examples of all input types once familiar with the api |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) Creating the following pipeline and calling it "paused" {noformat} node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } } {noformat} Run it - and then go to the following URL: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/ And you will see: {noformat} { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" } {noformat} We can come up with more canonical examples of all input types once familiar with the api: GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/ should report state==PAUSED, result==UNKNOWN GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/nodes/ should report state==PAUSED, result==UNKNOWN for nodes parallelStage and right. GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/ should report state==PAUSED, result==UNKNOWN for step id 12 When you drill into a step for a paused node you can see the input required: eg: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/ Has an input value of: {noformat} "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null } {noformat} which is what the form is rendered from. |
Attachment | Screen Shot 2016-12-13 at 4.51.12 pm.png [ 35148 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | Screenshot from 2016-12-15 15-38-50.png [ 35192 ] |
Attachment | Input Form (1).png [ 35193 ] |
Attachment | Input Form (1).png [ 35193 ] |
Attachment | Input Form.png [ 35194 ] |
Attachment | Input Form.png [ 35195 ] |
Attachment | Input Form.png [ 35194 ] |
Description |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) Creating the following pipeline and calling it "paused" {noformat} node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } } {noformat} Run it - and then go to the following URL: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/ And you will see: {noformat} { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" } {noformat} We can come up with more canonical examples of all input types once familiar with the api: GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/ should report state==PAUSED, result==UNKNOWN GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/nodes/ should report state==PAUSED, result==UNKNOWN for nodes parallelStage and right. GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/ should report state==PAUSED, result==UNKNOWN for step id 12 When you drill into a step for a paused node you can see the input required: eg: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/ Has an input value of: {noformat} "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null } {noformat} which is what the form is rendered from. |
In Scope
* Step should show the "waiting for input" indicator. * Input form should be shown where the log is usually shown. * When the user clicks "Submit" the form disappears and the log for that step is shown (Note: progress via karaoke should resume at this point) * User cannot submit the form unless they have filled in all values. * We will need to show a form validation message if the user tries to submit the form with empty values. * The confirmation button label is "Continue" * The button in the header is "Abort" which aborts the run. * See https://issues.jenkins-ci.org/browse/JENKINS-35899 for details on the visual design of this and screen shots Before vivek left he was able to merge the first tranche of support for input. This is described in this closed PR here: https://github.com/jenkinsci/blueocean-plugin/pull/645 (with a sample pipeline, that will return states waiting for input) Creating the following pipeline and calling it "paused" {noformat} node { stage("parallelStage"){ parallel left : { echo "running" def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']] echo "BRANCH NAME: ${branchInput}" }, right : { sh 'sleep 100000' } } } {noformat} Run it - and then go to the following URL: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/ And you will see: {noformat} { "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl", "_links": {}, "actions": [], "displayName": "Wait for interactive input", "durationInMillis": 124735, "id": "12", "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null }, "result": "UNKNOWN", "startTime": "2016-12-13T15:32:28.343+1100", "state": "PAUSED" } {noformat} We can come up with more canonical examples of all input types once familiar with the api: GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/ should report state==PAUSED, result==UNKNOWN GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/nodes/ should report state==PAUSED, result==UNKNOWN for nodes parallelStage and right. GET /jenkins/blue/rest/organizations/jenkins/pipelines/pipeline1/runs/1/steps/ should report state==PAUSED, result==UNKNOWN for step id 12 When you drill into a step for a paused node you can see the input required: eg: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/ Has an input value of: {noformat} "input": { "_class": "io.jenkins.blueocean.rest.impl.pipeline.InputStepImpl", "_links": { "self": { "_class": "io.jenkins.blueocean.rest.hal.Link", "href": "/blue/rest/organizations/jenkins/pipelines/paused/runs/1/nodes/6/steps/12/input/" } }, "id": "C51b52435b43a326d5d4f92c290a64d5", "message": "Please input branch to test against", "ok": "Proceed", "parameters": [ { "_class": "hudson.model.StringParameterDefinition", "defaultParameterValue": { "_class": "hudson.model.StringParameterValue", "name": "branch", "value": "master" }, "description": "", "name": "branch", "type": "StringParameterDefinition" } ], "submitter": null } {noformat} which is what the form is rendered from. |
Attachment | screenshot-1.png [ 35227 ] |
Link |
This issue is duplicated by |
Link |
This issue duplicates |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Labels | adoption |
Link |
This issue is blocked by |
Sprint | frank [ 156 ] | frank, christmas [ 156, 176 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |