HowTo set pipeline step description

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

HowTo set pipeline step description

Gil Shinar
I have seen the following ticket [1] and all of it's duplicate tickets but haven't found any documentation on how to actually add the description to a pipeline step so it'll show what really happened and not just "shell script".

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b5fdea5e-28c1-4a70-9fc6-677da8944578%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: HowTo set pipeline step description

Victor Martinez
As far as I know you don't need to do anything since the pipeline does it automatically:

For instance, the below pipeline will be shown as the attached screenshot

node('docker') {
    sh 'docker --version'
    sh 'docker info'
}











Is that what you meant? 

Cheers 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f2bd4fda-c68e-4ebc-8ba6-cfed991f7b88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: HowTo set pipeline step description

Gil Shinar
Yes, that is what I meant but I do not see that like that.

On Monday, December 4, 2017 at 9:09:34 PM UTC+2, Victor Martinez wrote:
As far as I know you don't need to do anything since the pipeline does it automatically:

For instance, the below pipeline will be shown as the attached screenshot

node('docker') {
    sh 'docker --version'
    sh 'docker info'
}
<a href="https://lh3.googleusercontent.com/-bIUSEguDBiQ/WiWczlv4N6I/AAAAAAAAKsI/f3oQ7h_YqMIpr_AyPtZpBWl1eZ-ZXLUsgCLcBGAs/s1600/Screen%2BShot%2B2017-12-04%2Bat%2B19.05.08.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-bIUSEguDBiQ/WiWczlv4N6I/AAAAAAAAKsI/f3oQ7h_YqMIpr_AyPtZpBWl1eZ-ZXLUsgCLcBGAs/s1600/Screen%2BShot%2B2017-12-04%2Bat%2B19.05.08.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-bIUSEguDBiQ/WiWczlv4N6I/AAAAAAAAKsI/f3oQ7h_YqMIpr_AyPtZpBWl1eZ-ZXLUsgCLcBGAs/s1600/Screen%2BShot%2B2017-12-04%2Bat%2B19.05.08.png&#39;;return true;">










Is that what you meant? 

Cheers 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/51297d1a-dc6c-4ee0-aed2-67acbf855c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: HowTo set pipeline step description

Victor Martinez
My current setup is:
- Jenkins core 2.73
- Blueocean 1.3.3
- JDK 1.8.0_131

See the whole plugins setups in this gist: https://gist.github.com/anonymous/a6785cf2182d4e4b35f0bfb426d0f69b

Can you confirm whether you are using the same or superior versions?

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cf0e9646-ddc0-4619-94af-3668382b4ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: HowTo set pipeline step description

Gil Shinar
It'll a problem for me in the near future as I'll not work for this customer in the next few weeks. 
Anyhow, next time, when I'll be there, I'll compare the plugins versions.
Before I left, I have updated all the relevant plugins to their latest versions and also upgraded the Jenkins to its latest LTS.

Thanks for that!

On Monday, December 11, 2017 at 12:23:27 AM UTC+2, Victor Martinez wrote:
My current setup is:
- Jenkins core 2.73
- Blueocean 1.3.3
- JDK 1.8.0_131

See the whole plugins setups in this gist: <a href="https://gist.github.com/anonymous/a6785cf2182d4e4b35f0bfb426d0f69b" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgist.github.com%2Fanonymous%2Fa6785cf2182d4e4b35f0bfb426d0f69b\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF3pkMxUMkj9Aa2luK0vsJ6YP25iQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgist.github.com%2Fanonymous%2Fa6785cf2182d4e4b35f0bfb426d0f69b\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF3pkMxUMkj9Aa2luK0vsJ6YP25iQ&#39;;return true;">https://gist.github.com/anonymous/a6785cf2182d4e4b35f0bfb426d0f69b

Can you confirm whether you are using the same or superior versions?

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f327e10f-a819-4057-8a43-bb0de3390a39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.