trigger a website build check after 10.0.x build (#12034)
Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
parent
f277b0aaa6
commit
cfc599c7ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue