mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Integration tests: publish event log dir in tests
GitOrigin-RevId: 8dbca50a3be19bb802bba6ea136215c2e9a64130
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3af34ee528
commit
2e7317cff9
@@ -319,12 +319,18 @@ data class IDERunContext(
|
||||
}
|
||||
|
||||
private fun publishArtifacts(isRunSuccessful: Boolean) {
|
||||
// publish artifacts to directory with a test in any case
|
||||
// publish log dir to directory with a test in any case
|
||||
testContext.publishArtifact(
|
||||
source = testContext.paths.logsDir,
|
||||
artifactPath = contextName,
|
||||
artifactName = formatArtifactName("logs", testContext.testName)
|
||||
)
|
||||
// publish FUS dir to directory with a test
|
||||
testContext.publishArtifact(
|
||||
source = testContext.paths.systemDir.resolve("event-log-data/logs/FUS"),
|
||||
artifactPath = contextName,
|
||||
artifactName = formatArtifactName("event-log-data", testContext.testName)
|
||||
)
|
||||
|
||||
if (!isRunSuccessful)
|
||||
testContext.publishArtifact(
|
||||
|
||||
Reference in New Issue
Block a user