tophat / jenkins-timeline-plugin

A build timeline to facilitate the inspection of Jenkins pipelines and identify bottlenecks.
https://jenkinstimeline.com
Apache License 2.0
34 stars 11 forks source link

Ability to annotate the sections other than just "Shell Script" or "Print Message" #149

Open mydeveloperday opened 1 year ago

mydeveloperday commented 1 year ago

Is your feature request related to a problem? Please describe. It would be good if we could somehow annotate the sections, rather than just shell script

image

Describe the solution you'd like maybe something like

sh "env" // BTL: get the environment sh "java --version" // BTL: determine java version

This would read the trailing comment from the jenkins file and if there was a // BTL: you'd take the text and use that instead of "Shell Script"

Describe alternatives you've considered Go full on embedded json! // BTL: { desc: "determine java version", tooltip: "java" }

Additional context Great plugin