Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 16:10:35 +01:00
parent 4e83febb80
commit 70535c05c1
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -15,7 +15,8 @@ try {
node {
stage ('Checkout') {
hola adios
echo env.GIT_COMMITTER_EMAIL
echo env.GIT_AUTHOR_EMAIL
checkout scm
}
stage ('Build') {
@ -51,13 +52,13 @@ try {
}
mail(
to: 'salix@verdnatura.es',
to: env.GIT_COMMITTER_EMAIL,
subject: "Pipeline success: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
body: "Check status at ${env.BUILD_URL}"
)
} catch(e) {
mail(
to: 'salix@verdnatura.es',
to: env.GIT_COMMITTER_EMAIL,
subject: "Pipeline failed: ${env.JOB_NAME} (${env.BUILD_NUMBER})",
body: "Check status at ${env.BUILD_URL}"
)