Jenkinsfile: fix glob for test scripts
This commit is contained in:
parent
6042f5256a
commit
5c8c479d21
2
contrib/ci/Jenkinsfile
vendored
2
contrib/ci/Jenkinsfile
vendored
@ -52,7 +52,7 @@ pipeline {
|
|||||||
sh label: 'Unpack image', script: 'gunzip -cd ./output/images/factory/*x86-64*.img.gz > ./image.img'
|
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'
|
sh label: 'Print python environment', script: 'python3 -m pip freeze'
|
||||||
script {
|
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"
|
sh label: "Test ${f.name}", script: "python3 tests/${f.name} --use-tmp-workdir"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user