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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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 genie.releng@projects-storage.eclipse.org "[ -d '${allTestResultsDirectory}' ]"; then
67+
if ssh genie.releng@projects-storage.eclipse.org "[ -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 genie.releng@projects-storage.eclipse.org rm -rfv ${allTestResultsDirectory}/${triggeringJob}* ${allTestResultsDirectory}/*/*${triggeringJob}*
7070
rsync -avzh genie.releng@projects-storage.eclipse.org:${allTestResultsDirectory}/xml ${buildDirectory}/testresults

0 commit comments

Comments
 (0)