Skip to content

Commit

Permalink
Merge pull request #1477 from cyberark/fix-codeclimate-coverage
Browse files Browse the repository at this point in the history
Report combined coverage results to CodeClimate
  • Loading branch information
szh authored Oct 14, 2022
2 parents 158370d + b0902a7 commit 79ac3d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ pipeline {
sh 'cp ./test/unit-test-output/c.out ./c.out'

junit 'test/unit-test-output/junit.xml'
ccCoverage("gocov", "--prefix github.com/cyberark/secretless-broker")
}
}
}
Expand Down Expand Up @@ -210,6 +209,8 @@ pipeline {
stage('Cobertura') {
steps {
cobertura autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'test/test-coverage/coverage.xml', conditionalCoverageTargets: '70, 0, 70', failUnhealthy: true, failUnstable: true, lineCoverageTargets: '70, 70, 70', maxNumberOfBuilds: 0, methodCoverageTargets: '70, 0, 70', onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false
sh 'cp test/test-coverage/integ-and-ut-cover.out ./c.out'
ccCoverage("gocov", "--prefix github.com/cyberark/secretless-broker")
}
}

Expand Down

0 comments on commit 79ac3d6

Please sign in to comment.