From 609811ab1dd7c6b8dc1d30b887bf2e787398c868 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Fri, 8 Jun 2018 16:33:19 +0200 Subject: [PATCH] test branch_is_master --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6053c9a..ee53fc4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,13 +20,14 @@ pipeline { } post { always { - junit 'test_results.xml' + sh 'printenv' script { utils = new Utils() + utils.mail_notify(currentBuild, env, 'admin+jenkins-bidon@entrouvert.com') utils.publish_coverage('coverage.xml') utils.publish_coverage_native('coverage.html') - utils.mail_notify(currentBuild, env, 'admin+jenkins-bidon@entrouvert.com') } + junit 'test_results.xml' } } }