31 lines
363 B
Groovy
31 lines
363 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage("sync") {
|
|
steps {
|
|
script {
|
|
git pull
|
|
git checkout develop
|
|
}
|
|
}
|
|
}
|
|
|
|
stage("migration") {
|
|
steps {
|
|
script {
|
|
pipenv run makemigrations
|
|
}
|
|
}
|
|
}
|
|
|
|
stage("build") {
|
|
steps {
|
|
script {
|
|
cd django_lostplaces
|
|
python setup.py bdist_wheel --universal
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |