lostplaces-backend/Jenkinsfile
2021-07-16 13:31:03 +02:00

43 lines
557 B
Groovy

pipeline {
agent {
docker {
image 'kennethreitz/pipenv'
args '--user root --privileged'
}
}
environment {
// pipenv
PIPENV_YES="true"
PIPENV_NOSPIN="YES"
}
stages {
stage('setup') {
steps {
script {
sh 'pipenv install'
sh 'pipenv install --dev'
sh 'pip install setuptools'
}
}
}
stage('migration') {
steps {
script {
sh 'pipenv run makemigrations'
}
}
}
stage('build') {
steps {
script {
sh 'pipenv run build'
}
}
}
}
}