bot-base/Jenkinsfile

23 lines
535 B
Plaintext
Raw Normal View History

2020-04-25 16:56:52 +02:00
pipeline {
agent none
stages {
stage('Test') {
agent {
docker {
image 'python:3.7'
}
}
steps {
2020-04-25 18:03:31 +02:00
sh "pip install --user pipenv"
2020-04-25 16:56:52 +02:00
sh "pipenv sync"
sh 'pipenv run pytest -p no:warnings --junit-xml test-reports/results.xml'
}
post {
always {
junit 'test-reports/results.xml'
}
}
}
}
}