This commit is contained in:
reverend 2021-07-10 13:32:56 +02:00
parent 1d787a3b1d
commit 6b33d20f90

16
Jenkinsfile vendored
View File

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