Skip to content

Commit

Permalink
Jenkins upload coverage to codecov.io
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed May 5, 2018
1 parent 5780cd3 commit aceab8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ pipeline {
sh 'ccache -z'
sh 'make distclean'
sh 'make coverage'
//sh 'bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}'
sh 'make coverage_html'
// publish html
publishHTML target: [
Expand All @@ -95,6 +94,9 @@ pipeline {
reportFiles: '*',
reportName: 'Code Coverage'
]
withCredentials([string(credentialsId: 'ECL_CODECOV_TOKEN', variable: 'CODECOV_TOKEN')]) {
sh 'curl -s https://codecov.io/bash | bash -s'
}
sh 'ccache -s'
sh 'make distclean'
}
Expand Down

0 comments on commit aceab8c

Please sign in to comment.