Jenkinsfile to build a snapshot
This commit is contained in:
parent
ab669b9f5e
commit
52f9df8b2a
21
Jenkinsfile
vendored
Normal file
21
Jenkinsfile
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user