I am using ${currentBuild.duration} inside a curl command and get the build duration in milliseconds, Is there a one liner to get it in seconds ?
${currentBuild.duration}