output something from the bundler audit to see in the reports

This commit is contained in:
2023-10-22 16:22:18 -07:00
parent 30c1192e27
commit 4490ed3e7c
Vendored
+3 -3
View File
@@ -27,7 +27,7 @@ pipeline {
steps { steps {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh 'bundle exec ruby-audit check' sh 'bundle exec ruby-audit check'
sh 'bundle exec bundle-audit check' sh 'bundle exec bundle-audit check >> audit.html'
} }
} }
} }
@@ -55,9 +55,9 @@ pipeline {
alwaysLinkToLastBuild: false, alwaysLinkToLastBuild: false,
keepAll: true, keepAll: true,
reportDir: '.', reportDir: '.',
reportFiles: 'rubocop.html, cucumber.html, spec.html, coverage/index.html', reportFiles: 'rubocop.html, audit.html, cucumber.html, spec.html, coverage/index.html',
reportName: 'Test Results', reportName: 'Test Results',
reportTitles: 'Rubocop Results, Cucumber Results, RSpec Results, Test Coverage']) reportTitles: 'Rubocop Results, Bundler Audit Results, Cucumber Results, RSpec Results, Test Coverage'])
} }
} }
stage('Build production deliverable') { stage('Build production deliverable') {