Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
Description
Adjust how steps are displayed, to make the appearance cleaner and keep a focus on the DSL. Suggested changes:
- Make Snippet Generator list the StepDescriptor.functionName first, as a sort key, followed by the StepDescriptor.displayName. So for example, you might see a pulldown entry sh: run a Unix shell script.
- Change the console log to print just the functionName, not the displayName.
- For steps which add LabelAction, like stage, follow the function name with the label: stage: Production. That probably means this call is no longer useful.
- For block start/stop nodes, perhaps show something like node { or } // node.
- Metasteps (checkout, step, wrap) need changes but this is covered by
JENKINS-29922. - Ideally, use ConsoleNote to render metadata with special markup so it does not distract from build output.
- Tweak the display of Workflow Steps similarly. (FlowNode.getDisplayName might still be OK here if the implementation were modified somewhat.)
Attachments
Issue Links
- depends on
-
JENKINS-26156 Erroneous handling of BodyInvoker.withDisplayName
-
- Resolved
-
-
JENKINS-26107 Allow stage to operate as a labelled block
-
- Closed
-
-
JENKINS-27394 Render stages in logs as collapsible sections
-
- Resolved
-
-
JENKINS-28293 Display more information about Pipeline steps
-
- Resolved
-
-
JENKINS-31595 Improve metadata logs for parallel step
-
- Resolved
-
- is related to
-
JENKINS-29922 Promote delegates of metasteps to top-level functions, deprecate $class
-
- Resolved
-
-
JENKINS-30086 Clean up step help
-
- Resolved
-
Code changed in jenkins
User: Jesse Glick
Path:
aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowJobNonRestartingTest.java
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepAtomNode.java
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepEndNode.java
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/nodes/StepStartNode.java
http://jenkins-ci.org/commit/workflow-cps-plugin/e955d74f926ae45bc27c619646bf9d33adbe41fa
Log:
Merge pull request #215 from amuniz/
JENKINS-30088JENKINS-30088Clean up step display in logsOriginally-Committed-As: 9ae86c4219d741e1e6e5a99ef1df27fdf08edb5c