From 1291b68facf86ff446fb0dc16e2bc9e91ea27609 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 26 Oct 2022 15:52:15 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E6=B8=85=E7=90=86build=5Fparent?= =?UTF-8?q?=E5=92=8Cbuild=5Fsdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 037236d302..2654006eaa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -139,21 +139,6 @@ pipeline { post('Notification') { always { sh "echo \$WEBHOOK\n" - script { - try { - 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")) { - println 'Deleting build number ' + it.number - it.delete() - break; - } - } - } - } catch (NoSuchElementException) { - } - } withCredentials([string(credentialsId: 'wechat-bot-webhook', variable: 'WEBHOOK')]) { qyWechatNotification failNotify: true, mentionedId: '', mentionedMobile: '', webhookUrl: "$WEBHOOK" }