This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/main by this push:
new 357d866a7 ci: show the Struts tag in the javadocs build name (#327)
357d866a7 is described below
commit 357d866a76b478ad65cde793cdd1cdc726d4d579
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Aug 27 11:53:57 2026 +0200
ci: show the Struts tag in the javadocs build name (#327)
The build history only showed the build number (e.g. #8), so there was no
way to tell which STRUTS_TAG a run had built without opening it. Set
currentBuild.displayName to "#<number> <tag>" at the start of the build.
🤖 Generated by AI Assistant
---
Jenkinsfile.javadocs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Jenkinsfile.javadocs b/Jenkinsfile.javadocs
index 7f660d148..59d1047d0 100644
--- a/Jenkinsfile.javadocs
+++ b/Jenkinsfile.javadocs
@@ -26,6 +26,10 @@ pipeline {
stages {
stage('Build Struts & Maven site') {
steps {
+ // Show the tag being built in the build history, next to the build
number.
+ script {
+ currentBuild.displayName = "#${env.BUILD_NUMBER}
${params.STRUTS_TAG}"
+ }
sh '''
echo "Building Struts ${STRUTS_TAG} and staging the Maven site"