diff --git a/Jenkinsfile b/Jenkinsfile index 53889bd..465c327 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {