Upload performance test result to artifact, cat the result to console
As I didn't find a solution to display the txt in pipeline ui.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import java.io.FileOutputStream
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
}
|
||||
@@ -37,4 +39,5 @@ tasks.named<JavaExec>("runPerformanceAnalyze") {
|
||||
classpath = sourceSets.test.get().runtimeClasspath
|
||||
mainClass.set("com.cleverthis.interview.PerformanceAnalyze")
|
||||
jvmArgs("-Dfast=true")
|
||||
standardOutput = FileOutputStream("performance.txt")
|
||||
}
|
||||
Reference in New Issue
Block a user