Deploy fixes
This commit is contained in:
parent
c9c7fdc81c
commit
8915bd1304
|
@ -1,13 +1,6 @@
|
||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
post {
|
try {
|
||||||
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 {
|
node {
|
||||||
stage ('Checkout') {
|
stage ('Checkout') {
|
||||||
checkout scm
|
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