pipeline { agent { docker { image 'ubuntu:16.04' }} stages { stage('Test') { step { sh 'ls' sh 'pwd' } } } }