pipeline { agent any stages { stage('Build') { steps { sh 'echo build' sh 'env' } } stage('Test'){ steps { sh 'echo test' } } stage('Deploy') { steps { sh 'echo publish' } } } }