Enhance build name format in Jenkinsfile to include build number for better traceability
Some checks reported errors
farmcontrol/farmcontrol-ui/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Tom Butcher 2026-06-21 04:10:12 +01:00
parent c613bdeff7
commit 242f67f47e

5
Jenkinsfile vendored
View File

@ -95,8 +95,9 @@ def setBuildNameFromPackageVersion() {
returnStdout: true
).trim()
}
currentBuild.displayName = "${version}"
echo "Build name set to package.json version: ${version}"
def buildName = "${version}-b${env.BUILD_NUMBER}"
currentBuild.displayName = buildName
echo "Build name set to: ${buildName}"
}
}
}