Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 16:00:25 +01:00
parent ac6a2be13e
commit be6ff70826
1 changed files with 10 additions and 2 deletions

12
Jenkinsfile vendored
View File

@ -53,7 +53,15 @@ try {
}
}
mail(to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline success: ${env.JOB_NAME}")
mail(
to: 'salix@verdnatura.es',
subject: "Pipeline success: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
body: "Check status at ${env.BUILD_URL}"
)
} catch(e) {
mail(to: 'salix@verdnatura.es', subject: 'Pipeline', "Pipeline failed: ${env.JOB_NAME}")
mail(
to: 'salix@verdnatura.es',
subject: "Pipeline failed: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
body: "Check status at ${env.BUILD_URL}"
)
}