Deploy fixes
This commit is contained in:
parent
4b67b80631
commit
c9c7fdc81c
|
@ -1,5 +1,13 @@
|
||||||
#!/usr/bin/env groovy
|
#!/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 {
|
node {
|
||||||
stage ('Checkout') {
|
stage ('Checkout') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
@ -50,12 +58,4 @@ node {
|
||||||
sh "docker-compose up --build -d"
|
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}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue