From 473d7c177ffb9bdc47ebadd208ee68cd4bf3d5b4 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 26 Oct 2022 15:39:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B8=85=E7=90=86build=5Fparent=E5=92=8C?= =?UTF-8?q?build=5Fsdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d65c2eee9..037236d302 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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")) {