Deploy fixes
This commit is contained in:
parent
c9c7fdc81c
commit
8915bd1304
|
@ -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}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue