This commit is contained in:
reverend 2021-07-10 13:30:10 +02:00
parent 0c3898163e
commit 1960bf3792
1 changed files with 11 additions and 5 deletions

16
Jenkinsfile vendored
View File

@ -4,18 +4,24 @@ pipeline {
stages { stages {
stage("sync") { stage("sync") {
steps { steps {
sh "git pull" script {
sh "git checkout develop" git pull
git checkout develop
}
} }
} }
stage("migration") { stage("migration") {
sh "pipenv run makemigrations" script {
pipenv run makemigrations
}
} }
stage("build") { stage("build") {
sh "cd django_lostplaces" script {
sh "python setup.py bdist_wheel --universal" cd django_lostplaces
python setup.py bdist_wheel --universal
}
} }
} }
} }