Deploy fixes

This commit is contained in:
Juan Ferrer 2019-01-08 16:15:04 +01:00
parent 70535c05c1
commit 7a3fc5e81a
1 changed files with 2 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -15,8 +15,6 @@ try {
node { node {
stage ('Checkout') { stage ('Checkout') {
echo env.GIT_COMMITTER_EMAIL
echo env.GIT_AUTHOR_EMAIL
checkout scm checkout scm
} }
stage ('Build') { stage ('Build') {
@ -52,13 +50,13 @@ try {
} }
mail( mail(
to: env.GIT_COMMITTER_EMAIL, to: 'juan@verdnatura.es',
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: env.GIT_COMMITTER_EMAIL, to: 'juan@verdnatura.es',
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}"
) )