2020-12-07 16:53:57 +01:00
|
|
|
pipeline {
|
|
|
|
agent { docker { image 'python:3.9' } }
|
|
|
|
stages {
|
|
|
|
stage('build') {
|
|
|
|
steps {
|
|
|
|
sh 'pip install pipenv'
|
|
|
|
sh 'pipenv shell --python 3.9'
|
2020-12-07 17:14:53 +01:00
|
|
|
sh 'pipenv run pip install -r requirements.txt'
|
2020-12-07 16:53:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('test') {
|
|
|
|
steps {
|
|
|
|
sh './run_tests.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-07 17:14:53 +01:00
|
|
|
|