Deploy fixes
This commit is contained in:
parent
70535c05c1
commit
7a3fc5e81a
|
@ -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}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue