everybody-mov/Jenkinsfile

29 lines
480 B
Groovy

pipeline {
agent {
docker {
image 'python:3.10-slim-bullseye'
}
}
stages {
stage('Setup') {
steps {
sh 'python -m pip install pipenv'
sh 'python -m pipenv install'
}
}
stage('Check') {
steps {
sh 'python -m pipenv run bandit -r .'
}
}
}
post {
always {
cleanWs()
}
}
}