2021-07-10 13:22:11 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('sync') {
|
|
|
|
steps {
|
2021-07-10 13:25:58 +02:00
|
|
|
git pull
|
|
|
|
git checkout develop
|
2021-07-10 13:22:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('migration') {
|
2021-07-10 13:25:58 +02:00
|
|
|
pipenv run makemigrations
|
2021-07-10 13:22:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
stage('build') {
|
2021-07-10 13:25:58 +02:00
|
|
|
cd django_lostplaces
|
|
|
|
python setup.py bdist_wheel --universal
|
2021-07-10 13:22:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|