lostplaces-backend/Jenkinsfile

22 lines
278 B
Groovy

pipeline {
agent any
stages {
stage('migration') {
steps {
script {
sh 'pipenv run makemigrations'
}
}
}
stage('build') {
steps {
script {
sh 'cd django_lostplaces'
sh 'python setup.py bdist_wheel --universal'
}
}
}
}
}