Add CODECOV_REPO_TOKEN

This commit is contained in:
Paul Campbell 2018-02-23 19:44:55 +00:00
parent c6e19005ff
commit 9cccc396be

2
Jenkinsfile vendored
View file

@ -16,7 +16,7 @@ pipeline {
} }
stage('Publish Coverage') { stage('Publish Coverage') {
steps { 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' sh './mvnw test jacoco:report coveralls:report'
} }
} }