ci: 清理build_parent和build_sdk

This commit is contained in:
CaptainB 2022-10-26 15:39:13 +08:00 committed by 刘瑞斌
parent be8ee7a8c5
commit 945fd3bc31
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -141,7 +141,7 @@ pipeline {
sh "echo \$WEBHOOK\n"
script {
try {
if ($BUILD_PARENT || $BUILD_SDK) {
if ("$BUILD_PARENT".equals("true") || "$BUILD_SDK".equals("true")) {
println "JOB_NAME=$JOB_NAME, BUILD_NUMBER=$BUILD_NUMBER, BUILD_URL=$BUILD_URL"
Hudson.instance.getItemByFullName("$JOB_NAME").builds.each {
if(it.number == Integer.parseInt("$BUILD_NUMBER")) {