Skip to content

Commit a56d110

Browse files
committed
[Build] Fix collection of the first test results
The 'testresults' folder of a build drop already exists, even if no test results are published yet. Fixes #3386
1 parent e721e1f commit a56d110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JenkinsJobs/Releng/collectTestResults.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pipeline {
6464

6565
# Fetch previously collected test results and already generated files (that would otherwise be re-generated)
6666
allTestResultsDirectory="${EP_ECLIPSE_DROPS}/${buildID}/testresults"
67-
if ssh [email protected] "[ -d '${allTestResultsDirectory}' ]"; then
67+
if ssh [email protected] "[ -d '${allTestResultsDirectory}/xml' ]"; then
6868
# First delete result files from a previous run of the same configuration (in case that test configuration was run again).
6969
ssh [email protected] rm -rfv ${allTestResultsDirectory}/${triggeringJob}* ${allTestResultsDirectory}/*/*${triggeringJob}*
7070
rsync -avzh [email protected]:${allTestResultsDirectory}/xml ${buildDirectory}/testresults

0 commit comments

Comments
 (0)