Add CODECOV_REPO_TOKEN
This commit is contained in:
parent
c6e19005ff
commit
9cccc396be
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue