diff --git a/Jenkinsfile b/Jenkinsfile index 1267d48f..ab405cd7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -134,7 +134,25 @@ waitUntil { } true } catch(error) { - input "Retry the e2e tests?" - false + node('linux') { + withCredentials([[$class: 'StringBinding', credentialsId: '8a727911-596f-4057-97c2-b9e23de5268d', variable: 'SLACKEMAIL']]) { + mail body: """ + + + + + +
Author: ${env.CHANGE_AUTHOR}
+Branch: ${env.BRANCH_NAME}
+Commit: ${env.CHANGE_TITLE}
+Click here to view logs.

+Click here to restart e2e.

+
+ +""", from: 'jenkins@ci.deis.io', subject: 'Workflow CLI E2E Test Failure', to: env.SLACKEMAIL, mimeType: 'text/html' + } + } + input "Retry the e2e tests?" + false } }