pipeline { agent { docker { image 'debian:stable-slim' }} options { skipDefaultCheckout() } stages { stage('clean workspace') { steps { cleanWs() } } stage('checkout with submodules') { steps { checkout scm sh 'find /home' } } stage('test submodule') { steps { sh 'echo salut' } } } }