File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ pipeline {
99 }
1010 }
1111 // options {
12- // skipDefaultCheckout()
12+ // skipDefaultCheckout() // default checkout is required for .devcontainer/Dockerfile
1313 // }
1414 stages {
1515 stage(' Cleanup' ) {
@@ -19,14 +19,14 @@ pipeline {
1919 }
2020 stage(' Checkout' ) {
2121 steps {
22- sh ' git submodule update --init --recursive'
23- // checkout(
24- // scmGit(
25- // branches: [[name: env.BRANCH_NAME]] ,
26- // extensions: [submodule(recursiveSubmodules: true, reference: '')],
27- // userRemoteConfigs: [[url: FIXME !!!]]
28- // )
29- // )
22+ // sh 'git submodule update --init --recursive'
23+ checkout(
24+ scmGit(
25+ branches : scm . branches ,
26+ extensions : [submodule(recursiveSubmodules : true , reference : ' ' )],
27+ userRemoteConfigs : scm . userRemoteConfigs
28+ )
29+ )
3030 }
3131 }
3232 stage(' Static code analysis' ) {
@@ -100,4 +100,4 @@ pipeline {
100100 }
101101 }
102102 }
103- }
103+ }
You can’t perform that action at this time.
0 commit comments