I have a post build script and am trying to get the build duration. I am
trying to get it like so:

def build = manager.build
build.duration.toString()

but that just yields 0. Is there a way I can get the build duration using a
post build groovy script?



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Get-build-duration-using-post-build-Groovy-script-tp4709125.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to