Deploy fixes
This commit is contained in:
parent
4e83febb80
commit
70535c05c1
|
@ -15,7 +15,8 @@ try {
|
||||||
|
|
||||||
node {
|
node {
|
||||||
stage ('Checkout') {
|
stage ('Checkout') {
|
||||||
hola adios
|
echo env.GIT_COMMITTER_EMAIL
|
||||||
|
echo env.GIT_AUTHOR_EMAIL
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
|
@ -51,13 +52,13 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
mail(
|
mail(
|
||||||
to: 'salix@verdnatura.es',
|
to: env.GIT_COMMITTER_EMAIL,
|
||||||
subject: "Pipeline success: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
subject: "Pipeline success: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||||
body: "Check status at ${env.BUILD_URL}"
|
body: "Check status at ${env.BUILD_URL}"
|
||||||
)
|
)
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
mail(
|
mail(
|
||||||
to: 'salix@verdnatura.es',
|
to: env.GIT_COMMITTER_EMAIL,
|
||||||
subject: "Pipeline failed: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
subject: "Pipeline failed: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
|
||||||
body: "Check status at ${env.BUILD_URL}"
|
body: "Check status at ${env.BUILD_URL}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue