Havin' fun with jenkins
This commit is contained in:
parent
52f9df8b2a
commit
2c6676d2c9
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -4,18 +4,18 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('sync') {
|
stage('sync') {
|
||||||
steps {
|
steps {
|
||||||
sh 'git pull'
|
git pull
|
||||||
sh 'git checkout develop'
|
git checkout develop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('migration') {
|
stage('migration') {
|
||||||
sh 'pipenv run makemigrations'
|
pipenv run makemigrations
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('build') {
|
stage('build') {
|
||||||
sh 'cd django_lostplaces'
|
cd django_lostplaces
|
||||||
sh 'python setup.py bdist_wheel --universal'
|
python setup.py bdist_wheel --universal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user