Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 5e9d511

Browse files
committed
use recursive update
1 parent b899677 commit 5e9d511

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def init_git() {
3737
deleteDir()
3838
retry(5) {
3939
try {
40-
// Make sure wait long enough for api.github.com request quota. Important: Don't increase the amount of
40+
// Make sure wait long enough for api.github.com request quota. Important: Don't increase the amount of
4141
// retries as this will increase the amount of requests and worsen the throttling
4242
timeout(time: 15, unit: 'MINUTES') {
4343
checkout scm
44-
sh 'git submodule update --init'
45-
sh 'git clean -d -f'
44+
sh 'git submodule update --init --recursive'
45+
sh 'git clean -d -f'
4646
}
4747
} catch (exc) {
4848
deleteDir()
@@ -60,8 +60,8 @@ def init_git_win() {
6060
// retries as this will increase the amount of requests and worsen the throttling
6161
timeout(time: 15, unit: 'MINUTES') {
6262
checkout scm
63-
bat 'git submodule update --init'
64-
bat 'git clean -d -f'
63+
bat 'git submodule update --init --recursive'
64+
bat 'git clean -d -f'
6565
}
6666
} catch (exc) {
6767
deleteDir()

0 commit comments

Comments
 (0)