added audit checks, this should help keep things secure
parent
a732eb2a61
commit
d7c9105995
|
|
@ -23,6 +23,14 @@ pipeline {
|
||||||
sh 'sequel -m db/migrations sqlite://db/${DB_NAME}'
|
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') {
|
stage('Code Linting') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue