Here's the working block:
// Setup release number
configure { project ->
project / buildWrappers << 'org.jvnet.hudson.tools.versionnumber.VersionNumberBuilder' {
versionNumberString('${BUILD_ID}')
projectStartDate('1970-01-01 00:00:00.0 UTC')
environmentVariableName('BUILD_VERSION')
oBuildsToday(-1)
oBuildsThisMonth(-1)
oBuildsThisYear(-1)
oBuildsAllTime(-1)
skipFailedBuilds(true)
useAsBuildDisplayName(true)
}
}
On Wednesday, July 8, 2015 at 10:01:15 AM UTC-6, Gregg Lowrimore wrote: