From 9cccc396bea99392d81907a91db15431dfc8c593 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 23 Feb 2018 19:44:55 +0000 Subject: [PATCH] Add CODECOV_REPO_TOKEN --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7444576..29c1f92 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { } stage('Publish Coverage') { steps { - sh 'curl -s https://codecov.io/bash | bash -s || echo "Codecov did not collect coverage reports"' + sh 'curl -s https://codecov.io/bash | bash -s - -t ${CODECOV_REPO_TOKEN} || echo "Codecov did not collect coverage reports"' sh './mvnw test jacoco:report coveralls:report' } }