• Icon: Patch Patch
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      It's very hard for someone new to Jenkins' internal structure (perhaps a Pipeline script author) to figure out how to get build parameters, environment variables, etc from a Run.

      Address this with a documentation change that directs the reader to the Actionable superclass's getAction(Class) and getAllActions() }} methods, and to {{ParametersAction as an example.

          [JENKINS-54532] Document how to get parameters from a Run

          Craig Ringer created issue -
          Craig Ringer made changes -
          Description Original: It's very hard for someone new to Jenkins' internal structure (perhaps a Pipeline script author) to figure out how to get build parameters, environment variables, etc from a <code>Run</code>.

          Address this with a documentation change that directs the reader to the Actionable superclass's getAction(Class), getAllActions() methods, and to ParametersAction as an example.
          New: It's very hard for someone new to Jenkins' internal structure (perhaps a Pipeline script author) to figure out how to get build parameters, environment variables, etc from a {{Run}}.

          Address this with a documentation change that directs the reader to the {{Actionable}} {{superclass's getAction(Class)}} and {{getAllActions() }} methods, and to {{ParametersAction}} as an example.
          Craig Ringer made changes -
          Description Original: It's very hard for someone new to Jenkins' internal structure (perhaps a Pipeline script author) to figure out how to get build parameters, environment variables, etc from a {{Run}}.

          Address this with a documentation change that directs the reader to the {{Actionable}} {{superclass's getAction(Class)}} and {{getAllActions() }} methods, and to {{ParametersAction}} as an example.
          New: It's very hard for someone new to Jenkins' internal structure (perhaps a Pipeline script author) to figure out how to get build parameters, environment variables, etc from a {{Run}}.

          Address this with a documentation change that directs the reader to the {{Actionable}} superclass's {{getAction(Class)}} and {{getAllActions() }} methods, and to {{ParametersAction}} as an example.
          Craig Ringer made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/3724 (Web Link)" [ 22018 ]
          Craig Ringer made changes -
          Link New: This issue relates to JENKINS-54535 [ JENKINS-54535 ]

            Unassigned Unassigned
            ringerc Craig Ringer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: