added audit checks, this should help keep things secure

pull/31/head
Adam Townsend 2023-10-22 15:51:16 -07:00
parent a732eb2a61
commit d7c9105995
1 changed files with 8 additions and 0 deletions

8
Jenkinsfile vendored
View File

@ -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') {