Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40926

Persist accepted input values

    XMLWordPrintable

Details

    Description

      Use case
      Developers would like to see the provided input parameters in the UI after the execution of the input step has been completed. This provides additional context about who proceeded on input and what parameters were passed.

      Today the input step throws away the execution data which means we are unable to later display it to the user. If the Input Step persisted its execution and values then we could build a UI for this.

      Attachments

        Issue Links

          Activity

            jamesdumay James Dumay added a comment -

            Thank you!

            jamesdumay James Dumay added a comment - Thank you!

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputSubmittedAction.java
            src/test/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepTest.java
            http://jenkins-ci.org/commit/pipeline-input-step-plugin/fa9a7282c3e2f142805dbeeddf934db3fe0fc36f
            Log:
            [FIXED JENKINS-40926] Persist input submission parameters and user on node

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputSubmittedAction.java src/test/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepTest.java http://jenkins-ci.org/commit/pipeline-input-step-plugin/fa9a7282c3e2f142805dbeeddf934db3fe0fc36f Log: [FIXED JENKINS-40926] Persist input submission parameters and user on node
            jglick Jesse Glick added a comment -

            JENKINS-30972 seems related.

            jglick Jesse Glick added a comment - JENKINS-30972 seems related.
            abayer Andrew Bayer added a comment - Initial PR up at  https://github.com/jenkinsci/pipeline-input-step-plugin/pull/12
            abayer Andrew Bayer added a comment -

            So we do have the user via ApproverAction, but only for the whole Run. So we need to expand that to the other parameters and save it to the FlowNode as well.

            abayer Andrew Bayer added a comment - So we do have the user via ApproverAction , but only for the whole Run . So we need to expand that to the other parameters and save it to the FlowNode as well.

            People

              abayer Andrew Bayer
              jamesdumay James Dumay
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: