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