Jenkinsfile: fix glob for test scripts

This commit is contained in:
Martin Weinelt 2020-04-16 23:02:45 +02:00
parent 6042f5256a
commit 5c8c479d21
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ pipeline {
sh label: 'Unpack image', script: 'gunzip -cd ./output/images/factory/*x86-64*.img.gz > ./image.img'
sh label: 'Print python environment', script: 'python3 -m pip freeze'
script {
for (f in findFiles(glob: '**/tests/*.py')) {
for (f in findFiles(glob: 'tests/*.py')) {
sh label: "Test ${f.name}", script: "python3 tests/${f.name} --use-tmp-workdir"
}
}