Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Gurr2018-09-12 12:43:29 -0400
committerFrederic Gurr2018-09-12 12:43:29 -0400
commitbf9a4334060c9a89a364b81662464cf35b1a0a13 (patch)
tree94c11e788504cf1e3ee27261c0a135950070a59d /Jenkinsfile
parente4f5e3e3f670912661c673b821327ef0f6dc22d7 (diff)
downloadorg.eclipse.simrel.build-bf9a4334060c9a89a364b81662464cf35b1a0a13.tar.gz
org.eclipse.simrel.build-bf9a4334060c9a89a364b81662464cf35b1a0a13.tar.xz
org.eclipse.simrel.build-bf9a4334060c9a89a364b81662464cf35b1a0a13.zip
Fix post in Jenkinsfile
Change-Id: I88e2899a0ad8ae70bdbf9f548e194268248d4034 Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 282f7d0a..a5cc3e5b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -52,13 +52,15 @@ pipeline {
}
}
}
- failure {
- emailext (
- subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
- body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
- <p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
- recipientProviders: [[$class: 'DevelopersRecipientProvider']],
- to: 'frederic.gurr@eclipse-foundation.org'
- )
+ post {
+ failure {
+ emailext (
+ subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
+ body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
+ <p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
+ recipientProviders: [[$class: 'DevelopersRecipientProvider']],
+ to: 'frederic.gurr@eclipse-foundation.org'
+ )
+ }
}
} \ No newline at end of file

Back to the top