Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Playing with Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Dec 21, 2018
1 parent 9f6f2e4 commit ed05806
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ pipeline {

script {
try {
withCredentials([string(credentialsId: 'lisk-mobile-coveralls-token', variable: 'COVERALLS_REPO_TOKEN')]) {
sh 'cat coverage/jest/lcov.info |./node_modules/.bin/coveralls'
nvm(getNodejsVersion()) {
withCredentials([string(credentialsId: 'lisk-mobile-coveralls-token', variable: 'COVERALLS_REPO_TOKEN')]) {
sh 'cat coverage/jest/lcov.info |./node_modules/.bin/coveralls'
}
}
} catch(err) {
println "Could not report coverage statistics:\n${err}"
Expand Down

0 comments on commit ed05806

Please sign in to comment.