lostplaces-backend/Jenkinsfile

31 lines
363 B
Plaintext
Raw Normal View History

2021-07-10 13:22:11 +02:00
pipeline {
agent any
stages {
2021-07-10 13:27:46 +02:00
stage("sync") {
2021-07-10 13:22:11 +02:00
steps {
2021-07-10 13:30:10 +02:00
script {
git pull
git checkout develop
}
2021-07-10 13:22:11 +02:00
}
}
2021-07-10 13:27:46 +02:00
stage("migration") {
2021-07-10 13:31:34 +02:00
steps {
script {
pipenv run makemigrations
}
2021-07-10 13:30:10 +02:00
}
2021-07-10 13:22:11 +02:00
}
2021-07-10 13:27:46 +02:00
stage("build") {
2021-07-10 13:31:34 +02:00
steps {
script {
cd django_lostplaces
python setup.py bdist_wheel --universal
}
2021-07-10 13:30:10 +02:00
}
2021-07-10 13:22:11 +02:00
}
}
}