Skip to content

Commit 086ef54

Browse files
authored
Try only uploading to root
1 parent ad8b134 commit 086ef54

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,7 @@ public void UploadResults()
322322
// Combine the directory name + log name for the copied log file name to avoid overwriting duplicate test names in different test projects
323323
var logName = $"{Path.GetFileName(Path.GetDirectoryName(file))}_{Path.GetFileName(file)}";
324324
Console.WriteLine($"Copying: {file} to {Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, logName)}");
325-
// Need to copy to HELIX_WORKITEM_UPLOAD_ROOT and HELIX_WORKITEM_UPLOAD_ROOT/../ in order for Azure Devops attachments to link properly and for Helix to store the logs
326325
File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, logName));
327-
File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, "..", logName));
328326
}
329327
}
330328
else
@@ -338,9 +336,7 @@ public void UploadResults()
338336
{
339337
var fileName = Path.GetFileName(file);
340338
Console.WriteLine($"Copying: {file} to {Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, fileName)}");
341-
// Need to copy to HELIX_WORKITEM_UPLOAD_ROOT and HELIX_WORKITEM_UPLOAD_ROOT/../ in order for Azure Devops attachments to link properly and for Helix to store the logs
342339
File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, fileName));
343-
File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, "..", fileName));
344340
}
345341
}
346342
else

0 commit comments

Comments
 (0)