diff --git a/Jenkinsfile b/Jenkinsfile index 5aef116..98dad20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,35 +1,36 @@ pipeline { agent { docker { image 'debian:stable-slim' }} options { skipDefaultCheckout() } stages { stage('check ws for emptiness') { steps { sh 'find' } } stage('checkout with submodules') { steps { checkout scm: [ $class: 'GitSCM', + branches: scm.branches, extensions: [[ $class: 'SubmoduleOption', recursiveSubmodules: true, ]] ] } } stage('test submodule') { steps { sh 'find' } } stage('clean workspace') { steps { cleanWs() } } } }