.
This commit is contained in:
parent
0c3898163e
commit
1960bf3792
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -4,18 +4,24 @@ pipeline {
|
||||
stages {
|
||||
stage("sync") {
|
||||
steps {
|
||||
sh "git pull"
|
||||
sh "git checkout develop"
|
||||
script {
|
||||
git pull
|
||||
git checkout develop
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage("migration") {
|
||||
sh "pipenv run makemigrations"
|
||||
script {
|
||||
pipenv run makemigrations
|
||||
}
|
||||
}
|
||||
|
||||
stage("build") {
|
||||
sh "cd django_lostplaces"
|
||||
sh "python setup.py bdist_wheel --universal"
|
||||
script {
|
||||
cd django_lostplaces
|
||||
python setup.py bdist_wheel --universal
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user