diff --git a/Jenkinsfile b/Jenkinsfile index 98dad20..ea4e714 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,36 +1,37 @@ 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, - ]] + ]], + userRemoteConfigs: scm.userRemoteConfigs ] } } stage('test submodule') { steps { sh 'find' } } stage('clean workspace') { steps { cleanWs() } } } }