Havin' fun with jenkins

This commit is contained in:
reverend 2021-07-10 13:25:58 +02:00
parent 52f9df8b2a
commit 2c6676d2c9

10
Jenkinsfile vendored
View File

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