[Maven] Fix flaky test-plugins

Logging in maven has been slightly changed, so it no longer matches the old patterns. It was flaky because sometimes it loaded the plexus artifact (and sometimes it didn't) and such event was shown in the log with different log message
This commit is contained in:
Aleksei.Cherepanov
2023-02-13 16:27:47 +01:00
committed by teamcity
parent ba172358d8
commit 0470a9568d
@@ -26,10 +26,10 @@ State state = buildLogFile.readLines().collect { it.replaceAll("\\u001b[^m]*m",
def m = pattern.matcher(line)
if (m.find()) {
acc.currentPlugin = m.group(1)
} else if (line.startsWith("[INFO] Downloaded:") ||
line.startsWith("[INFO] Downloading:") ||
line.startsWith("Downloaded:") ||
line.startsWith("Downloading:") ||
} else if (line.startsWith("[INFO] Downloaded") ||
line.startsWith("[INFO] Downloading") ||
line.startsWith("Downloaded") ||
line.startsWith("Downloading") ||
line.startsWith("[INFO] PERF:")) {
// ignore line
} else if (acc.currentPlugin == "kotlin-maven-plugin") {