bundlewrap/Jenkinsfile
Franziska Kunsmann daaa040985
All checks were successful
bundlewrap/pipeline/head This commit looks good
add Jenkinsfile
2020-05-09 14:01:10 +02:00

32 lines
798 B
Groovy

pipeline {
agent any
stages {
stage('install_requirements') {
steps {
sh """
[ -d venv ] && rm -rf venv
virtualenv -p python3 venv
. venv/bin/activate
pip install --upgrade pip
"""
sh """
. venv/bin/activate
pip install -r requirements.txt
"""
}
}
stage('bw_test') {
steps {
sh """
. venv/bin/activate
bw test --ignore-missing-faults
"""
}
}
stage('cleanup') {
steps {
sh 'rm -rf venv'
}
}
}
}