blob: 1e79e64eda29c85eb8fa1c6e050c9b8f8f9d6e51 [file] [log] [blame]
node('docker') {
deleteDir()
stage 'Checkout'
checkout scm
stage 'Build'
docker.build('jenkins')
stage 'Test'
sh """
git submodule update --init --recursive
git clone https://github.com/sstephenson/bats.git
bats/bin/bats tests
"""
}