Nice, but how to convert milliseconds to HH:MM:SS in groovy script, in
particular in pipeline plugin?
Denis Kot
2016-09-19 20:58 GMT+02:00 Baptiste Mathus :
> long startTime = System.currentTimeMillis()
>
> // Do what you need
>
> long elapsedMillis = System.currentTimeMilli
uong Tran wrote:
>>
>> How about:
>>
>> currentBuild.getDuration()
>>
>> https://github.com/jenkinsci/workflow-support-plugin/blob/ma
>> ster/src/main/java/org/jenkinsci/plugins/workflow/support/
>> steps/build/RunWrapper.java
>>
>> On
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