pipeline { agent any stages { stage('lint') { steps { sh 'ansible-lint dotfiles.yml' } } } post { always { emailext body: 'Please check why ${env.BUILD_TAG} failed! [${env.BUILD_URL}]', subject: 'Build FAILED! ${env.BUILD_TAG}', recipientProviders: [[$class: 'DevelopersRecipientProvider']] } } }