From d7c910599555b0909ae4d732774bb390739e6d9f Mon Sep 17 00:00:00 2001 From: Adam Townsend Date: Sun, 22 Oct 2023 15:51:16 -0700 Subject: [PATCH] added audit checks, this should help keep things secure --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) 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') {