Franziska Kunsmann
daaa040985
All checks were successful
bundlewrap/pipeline/head This commit looks good
32 lines
798 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|