Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 14:01:04 +01:00
parent c9c7fdc81c
commit 8915bd1304
1 changed files with 47 additions and 49 deletions

14
Jenkinsfile vendored
View File

@ -1,13 +1,6 @@
#!/usr/bin/env groovy
post {
always {
mail to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline success: ${env.JOB_NAME}"
}
failure {
mail to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline failed: ${env.JOB_NAME}"
}
}
try {
node {
stage ('Checkout') {
checkout scm
@ -59,3 +52,8 @@ node {
}
}
}
mail to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline success: ${env.JOB_NAME}"
} catch(e) {
mail to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline failed: ${env.JOB_NAME}"
}