Jenkinsfile to build a snapshot

This commit is contained in:
reverend 2021-07-10 13:22:11 +02:00
parent ab669b9f5e
commit 52f9df8b2a

21
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,21 @@
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'
}
}
}