Skip to content

Commit

Permalink
perf: change checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jul 31, 2024
1 parent 6c2ee2a commit 1b1ab53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def sendErrorMsg(imageName) {
}


def runShellCommand(script, int retries = 5) {
def runShellCommand(script, int retries = 3) {
for (int i = 0; i < retries; i++) {
try {
echo "Running shell command, attempt ${i + 1}..."
Expand Down Expand Up @@ -169,7 +169,8 @@ pipeline {
stage('Checkout') {
steps {
script {
EE_APPS.each { app ->
def apps = CE_APPS + MID_APPS
apps.each { app ->
dir(app) {
git url: "git@github.com:jumpserver/${app}.git", branch: "${env.branch}"
}
Expand Down

0 comments on commit 1b1ab53

Please sign in to comment.