output something from the bundler audit to see in the reports
This commit is contained in:
Vendored
+3
-3
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user