diff options
-rw-r--r-- | jenkins/create_jobs.groovy | 4 | ||||
-rw-r--r-- | poi-ooxml/build.gradle | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index ece3c0c22e..fcb1d04376 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -437,7 +437,7 @@ poijobs.each { poijob -> } } // in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results - archiveArtifacts('build/dist/*.zip,build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**') + archiveArtifacts('build/dist/*.zip,build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**,build/hs_err*.log') warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) { resolveRelativePaths() } @@ -542,7 +542,7 @@ xmlbeansjobs.each { xjob -> } } publishers { - archiveArtifacts('build/*.jar,build/*.zip,build/*.tgz') + archiveArtifacts('build/*.jar,build/*.zip,build/*.tgz,build/hs_err*.log') warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) { resolveRelativePaths() diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index c2487d0a80..9f54f9ef5c 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -304,6 +304,7 @@ test { doFirst { jvmArgs += [ "-Xverify:all", + "-XX:ErrorFile=../build/hs_err_pid%p.log", "-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}" ] if (JavaVersion.current() != JavaVersion.VERSION_1_8) { |