rspec-coverage #22

Merged
bucky merged 13 commits from rspec-coverage into master 2023-10-12 23:49:49 -07:00
Showing only changes of commit 33089e6fbd - Show all commits
Vendored
+4 -4
View File
@@ -26,10 +26,10 @@ pipeline {
stage('Run tests') { stage('Run tests') {
steps { steps {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') { catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh 'cucumber features --format html --out coverage/cucumber.html' sh 'cucumber features --format html --out cucumber.html'
} }
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') { catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh 'rspec spec --format html --out coverage/spec.html' sh 'rspec spec --format html --out spec.html'
} }
} }
} }
@@ -40,8 +40,8 @@ pipeline {
allowMissing: false, allowMissing: false,
alwaysLinkToLastBuild: false, alwaysLinkToLastBuild: false,
keepAll: true, keepAll: true,
reportDir: 'coverage', reportDir: '.',
reportFiles: 'cucumber.html, spec.html, index.html', reportFiles: 'cucumber.html, spec.html, coverage/index.html',
reportName: 'Test Results', reportName: 'Test Results',
reportTitles: 'Cucumber Results, RSpec Results, Test Coverage']) reportTitles: 'Cucumber Results, RSpec Results, Test Coverage'])
} }