From 877b33ed48a1d19df15a2f832a1c640b4b91fe84 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 5 Aug 2024 14:59:04 +0800 Subject: [PATCH] perf: remove other --- Jenkinsfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a61441e4..7f0e50ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,6 +79,10 @@ def runShellCommand(script, int retries = 1) { def buildImage(appName, appVersion, String type='CE') { // Type EE, CE, MID, EE-MID echo "Building ${appName}:${appVersion}" + echo "Type: ${type}" + echo "env: ${env}" + return + def appBuildOption = [ "core-xpack": [ "image": "xpack", @@ -174,6 +178,7 @@ pipeline { env.PIP_MIRROR="https://pypi.tuna.tsinghua.edu.cn/simple" env.MAVEN_MIRROR="https://maven.aliyun.com/repository/public" env.APK_MIRROR="mirrors.tuna.tsinghua.edu.cn" + env.repo = '' } } } @@ -182,7 +187,9 @@ pipeline { script { ALL_APPS.each { app -> dir(app) { - git url: "git@github.com:jumpserver/${app}.git", branch: "${env.branch}" + if (app == env.repo || env.repo == '') { + git url: "git@github.com:jumpserver/${app}.git", branch: "${env.branch}" + } } } }