diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..44dadca --- /dev/null +++ b/Jenkinsfile @@ -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' + } + } +} \ No newline at end of file