dotfiles/Jenkinsfile

20 lines
618 B
Plaintext
Raw Permalink Normal View History

2021-08-31 15:04:52 +02:00
pipeline {
agent any
stages {
stage('lint') {
steps {
sh 'ansible-lint dotfiles.yml'
}
}
}
2021-08-31 16:55:24 +02:00
post {
failure {
emailext body: 'Please check #$BUILD_NUMBER $PROJECT_NAME - $BUILD_STATUS! See $BUILD_URL', subject: 'Build #$BUILD_NUMBER $PROJECT_NAME - $BUILD_STATUS!', recipientProviders: [developers(), requestor()]
}
fixed {
emailext body: '$BUILD_STATUS, see $BUILD_URL', subject: 'Build #$BUILD_NUMBER $PROJECT_NAME - $BUILD_STATUS!', recipientProviders: [developers(), requestor()]
}
}
2021-08-31 15:04:52 +02:00
}