From 5dc39fe0686a1761501c318e6d25e99e13845372 Mon Sep 17 00:00:00 2001 From: bruno DA SILVA Date: Tue, 4 Sep 2018 18:10:39 +0200 Subject: [PATCH] [WIP] jenkinsfile integration --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index f53cacbe6..7a9b883a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -58,6 +58,17 @@ pipeline { } } + + post { +// always { +// +// } + failure { + junit 'var/test/phpunit-log.junit.xml' + slackSend(color: '#00FF00', message: "Ho no! Build failed! (${currentBuild.result}), Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})") + } + } + environment { DEBUG_UNIT_TEST = '0' }