trigger a website build check after 10.0.x build (#12034)

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2024-09-04 12:50:56 +10:00 committed by GitHub
parent f277b0aaa6
commit cfc599c7ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

17
Jenkinsfile vendored
View File

@ -78,6 +78,10 @@ pipeline {
}
fixed {
slackNotif()
websiteBuild()
}
success {
websiteBuild()
}
}
}
@ -128,4 +132,17 @@ def mavenBuild(jdk, cmdline, mvnName) {
}
}
def websiteBuild() {
script {
try {
if (env.BRANCH_NAME == 'jetty-10.0.x' || env.BRANCH_NAME == 'jetty-11.0.x' || env.BRANCH_NAME == 'jetty-12.0.x') {
build(job: 'website/jetty.website/main', propagate: false, wait: false)
}
} catch (Exception e) {
e.printStackTrace()
echo "skip website build triggering: " + e.getMessage()
}
}
}
// vim: et:ts=2:sw=2:ft=groovy