Fix something so I can see the error
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
yoyosource 2022-05-10 09:10:06 +02:00
Ursprung 5e2d18a5b5
Commit 6113f0146d

Datei anzeigen

@ -104,4 +104,27 @@ task finalizeProject {
file(libs + "/" + uberJarName).renameTo(file(libs + "/" + jarName))
}
}
assemble.finalizedBy(finalizeProject)
assemble.finalizedBy(finalizeProject)
task testOutput {
description 'Print Test output'
group "Build"
doLast {
for (def file : new File("${buildDir}/test-results/test/").listFiles()) {
if (file.isDirectory()) {
continue
}
def strings = file.readLines()
if (strings.get(1).contains("failures=\"0\"")) {
continue
}
println "Content ${file}:"
strings.each {
line -> println ": $line"
}
println ""
}
}
}
test.finalizedBy(testOutput)