Fixing xml directory race condition on incremental runs

This commit is contained in:
evanchia
2021-06-07 18:31:57 -07:00
parent 593b679fa3
commit 9373c5fd0d
+4 -1
View File
@@ -365,8 +365,11 @@ def ExportTestResults(Map options, String platform, String type, String workspac
def o3deroot = "${workspace}/${ENGINE_REPOSITORY_NAME}"
dir("${o3deroot}/${params.OUTPUT_DIRECTORY}") {
junit testResults: "Testing/**/*.xml"
palRmDir("Testing")
palRmDir("Testing/*")
}
// Recreate test runner xml directories that need to be pre generated
palMkdir("Testing/Pytest")
palMkdir("Testing/Gtest")
}
}