lostplaces-backend/Jenkinsfile
2021-07-10 13:32:56 +02:00

31 lines
388 B
Groovy

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