Author: centic Date: Tue Nov 21 16:28:07 2017 New Revision: 1815951 URL: http://svn.apache.org/viewvc?rev=1815951&view=rev Log: Try if using a local temporary directory avoids the permission errors in unit tests in the Maven runs: * Collect JUnit results * Set java.io.tmpdir in Maven unit test runs
Modified: poi/trunk/jenkins/create_jobs.groovy poi/trunk/sonar/main/pom.xml poi/trunk/sonar/ooxml/pom.xml poi/trunk/sonar/pom.xml Modified: poi/trunk/jenkins/create_jobs.groovy URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1815951&r1=1815950&r2=1815951&view=diff ============================================================================== --- poi/trunk/jenkins/create_jobs.groovy (original) +++ poi/trunk/jenkins/create_jobs.groovy Tue Nov 21 16:28:07 2017 @@ -250,6 +250,11 @@ poijobs.each { poijob -> project / publishers << 'hudson.plugins.cigame.GamePublisher' {} } } + archiveJunit('sonar/*/target/surefire-reports/TEST-*.xml') { + testDataPublishers { + publishTestStabilityData() + } + } mailer(email, false, false) } } else if (poijob.javadoc) { Modified: poi/trunk/sonar/main/pom.xml URL: http://svn.apache.org/viewvc/poi/trunk/sonar/main/pom.xml?rev=1815951&r1=1815950&r2=1815951&view=diff ============================================================================== --- poi/trunk/sonar/main/pom.xml (original) +++ poi/trunk/sonar/main/pom.xml Tue Nov 21 16:28:07 2017 @@ -103,7 +103,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>${maven.plugin.surefire.version}</version> <configuration> - <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -XX:-OmitStackTraceInFastThrow</argLine> + <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=target/tmp -XX:-OmitStackTraceInFastThrow</argLine> </configuration> </plugin> </plugins> Modified: poi/trunk/sonar/ooxml/pom.xml URL: http://svn.apache.org/viewvc/poi/trunk/sonar/ooxml/pom.xml?rev=1815951&r1=1815950&r2=1815951&view=diff ============================================================================== --- poi/trunk/sonar/ooxml/pom.xml (original) +++ poi/trunk/sonar/ooxml/pom.xml Tue Nov 21 16:28:07 2017 @@ -93,7 +93,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>${maven.plugin.surefire.version}</version> <configuration> - <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -XX:-OmitStackTraceInFastThrow</argLine> + <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=target/tmp -XX:-OmitStackTraceInFastThrow</argLine> </configuration> </plugin> </plugins> Modified: poi/trunk/sonar/pom.xml URL: http://svn.apache.org/viewvc/poi/trunk/sonar/pom.xml?rev=1815951&r1=1815950&r2=1815951&view=diff ============================================================================== --- poi/trunk/sonar/pom.xml (original) +++ poi/trunk/sonar/pom.xml Tue Nov 21 16:28:07 2017 @@ -106,7 +106,7 @@ <org.apache.poi.util.POILogger>org.apache.poi.util.NullLogger</org.apache.poi.util.POILogger> </systemPropertyVariables> <!-- use to following to analyze OOM issues: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp --> - <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m</argLine> + <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=target/tmp</argLine> <excludes> <exclude>**/All*Tests.java</exclude> <exclude>**/TestUnfixedBugs.java</exclude> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org For additional commands, e-mail: commits-h...@poi.apache.org