Skip to content

Commit

Permalink
perf: remove other
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Aug 5, 2024
1 parent d40bf50 commit 877b33e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 = ''
}
}
}
Expand All @@ -182,7 +187,9 @@ pipeline {
script {
ALL_APPS.each { app ->
dir(app) {
git url: "[email protected]:jumpserver/${app}.git", branch: "${env.branch}"
if (app == env.repo || env.repo == '') {
git url: "[email protected]:jumpserver/${app}.git", branch: "${env.branch}"
}
}
}
}
Expand Down

0 comments on commit 877b33e

Please sign in to comment.