pipeline{ agent none stages { stage('Build') { agent { docker { image 'python:2-alpine' } } steps { sh 'echo Hello World!' } } } }