How about: currentBuild.getDuration()
https://github.com/jenkinsci/workflow-support-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java On Monday, September 19, 2016 at 1:34:38 AM UTC-7, Denis Kot wrote: > > I would like to send message from pipeline to hipchat contains total build > time, i.e.: > job-pipeline #3007 SUCCESSFUL after 1 min 42 sec > How can I implement it? > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8fd67569-d26b-4764-b342-9f4e5f8a7236%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.