I\'m configuring a process of Android application build by using Jenkins pipeline.
At the beginning and the end of the build, a message is sent to a relevant Slack c
To remove the 'and counting' part from the string you can do the following:
"${currentBuild.durationString.minus(' and counting')}"