Commit d119a0c0 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Add a Jenkinsfile pipeline from source to deploy

parent bd8e4ed677c7
pipeline {
agent {label 'debian_stretch'}
stages {
stage('lint') {
parallel {
stage('flake8') {
steps {
sh "tox -e flake8"
}
}
stage('check-manifest') {
steps {
sh "tox -e check-manifest"
}
}
}
}
stage('tests') {
steps {
sh "tox -e py3"
}
}
stage('deploy') {
when {
environment name: 'DEPLOY', value: 'true'
}
agent {label 'docker-host'}
steps {
sh "make deploy"
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment