From e46b2d1eaf96d80e163cfa0a73af520ae141c0a6 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 10 Nov 2023 14:44:32 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E9=95=9C=E5=83=8F=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E5=90=8E=E8=A7=A6=E5=8F=91standalone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4a6243fe1f..40fdbaa70a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -120,6 +120,19 @@ pipeline { } } } + stage('Build Standalone') { + when { + expression { + def reg = "^\\d+\\.\\w+\$" + return env.REVISION.matches(reg) + } + } + steps { + script { + build job: "../metersphere-standalone/${BRANCH_NAME}", quietPeriod: 10 + } + } + } } post('Notification') { always {