added audit checks, this should help keep things secure
This commit is contained in:
Vendored
+8
@@ -23,6 +23,14 @@ pipeline {
|
||||
sh 'sequel -m db/migrations sqlite://db/${DB_NAME}'
|
||||
}
|
||||
}
|
||||
stage('Audit Dependencies') {
|
||||
steps {
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
sh 'bundle exec ruby-audit check'
|
||||
sh 'bundle exec bundle-audit check'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Code Linting') {
|
||||
steps {
|
||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||
|
||||
Reference in New Issue
Block a user