From 5c8c479d217e5a219a2c05d81038e3de7459c90c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 16 Apr 2020 23:02:45 +0200 Subject: [PATCH] Jenkinsfile: fix glob for test scripts --- contrib/ci/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ci/Jenkinsfile b/contrib/ci/Jenkinsfile index 432b02fdef..0deb5fcdb3 100644 --- a/contrib/ci/Jenkinsfile +++ b/contrib/ci/Jenkinsfile @@ -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" } }