Commit 05df01460f7aa5dafbda634066fecd8c4cc4438e
1 parent
7924da62
Add coveragetest to Test stage of Jenkinsfile
Showing
1 changed file
with
5 additions
and
1 deletions
Jenkinsfile
100644 → 100755
| ... | ... | @@ -18,7 +18,8 @@ timestamps { |
| 18 | 18 | stage('Test') |
| 19 | 19 | { |
| 20 | 20 | sh '''cd build |
| 21 | - hueplusplus/test/test_HuePlusPlus --gtest_output=xml:test.xml''' | |
| 21 | + hueplusplus/test/test_HuePlusPlus --gtest_output=xml:test.xml | |
| 22 | + make -j8 coveragetest''' | |
| 22 | 23 | step([$class: 'XUnitBuilder', testTimeMargin: '3000', thresholdMode: 1, |
| 23 | 24 | thresholds: [ |
| 24 | 25 | [$class: 'FailedThreshold', failureNewThreshold: '', failureThreshold: '', unstableNewThreshold: '', unstableThreshold: ''], |
| ... | ... | @@ -28,6 +29,9 @@ timestamps { |
| 28 | 29 | [$class: 'GoogleTestType', deleteOutputFiles: true, failIfNotNew: true, pattern: 'build/test.xml', skipNoTestFiles: false, stopProcessingIfError: true] |
| 29 | 30 | ] |
| 30 | 31 | ]) |
| 32 | + publishHTML( | |
| 33 | + [allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'build/coveragetest', reportFiles: 'index.html', reportName: 'Coveragetest', reportTitles: ''] | |
| 34 | + ) | |
| 31 | 35 | } |
| 32 | 36 | stage('CppCheck') |
| 33 | 37 | { | ... | ... |