Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 13:53:16 +01:00
parent 4b67b80631
commit c9c7fdc81c
1 changed files with 8 additions and 8 deletions

16
Jenkinsfile vendored
View File

@ -1,5 +1,13 @@
#!/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}"
}
}
node {
stage ('Checkout') {
checkout scm
@ -50,12 +58,4 @@ node {
sh "docker-compose up --build -d"
}
}
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}"
}
}
}