lostplaces-backend/Jenkinsfile
2021-07-10 14:43:56 +02:00

28 lines
405 B
Groovy

pipeline {
agent { docker { image 'python:3.7.2' } }
environment {
// pipenv
PIPENV_YES="true"
PIPENV_NOSPIN="YES"
}
stages {
stage('migration') {
steps {
script {
sh 'pipenv run makemigrations'
}
}
}
stage('build') {
steps {
script {
sh 'cd django_lostplaces'
sh 'python setup.py bdist_wheel --universal'
}
}
}
}
}