pipeline { agent { docker { image 'python:3.9' } } stages { stage('build') { steps { sh 'pip install pipenv' sh 'pipenv shell --python 3.9' sh 'pipenv run pip install -r requirements.txt' } } stage('test') { steps { sh './run_tests.sh' } } } }