From c6e19005ff3cbc622f1f83db9a074b62a7824f0e Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 23 Feb 2018 19:25:45 +0000 Subject: [PATCH] Prevent Codecov from breaking the build --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 06a19f5..7444576 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { } stage('Publish Coverage') { steps { - sh 'curl -s https://codecov.io/bash | bash -s' + sh 'curl -s https://codecov.io/bash | bash -s || echo "Codecov did not collect coverage reports"' sh './mvnw test jacoco:report coveralls:report' } }