manticore-projects commented on a change in pull request #275:
URL: https://github.com/apache/poi/pull/275#discussion_r741661358
##########
File path: build.gradle
##########
@@ -271,8 +278,10 @@ subprojects {
'-Djavax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl',
"-Dversion.id=${project.version}",
'-ea',
- '-Djunit.jupiter.execution.parallel.config.strategy=fixed',
- '-Djunit.jupiter.execution.parallel.config.fixed.parallelism=2'
+ '-Djunit.jupiter.execution.parallel.enabled=true',
+ '-Djunit.jupiter.execution.parallel..mode.default=concurrent'
Review comment:
Would it be possible to rely on an Environment Variable, e. g.:
```
boolean isJenkinsBuild = Boolean.valueOf(System.getenv("CI_BUILD"));
boolean isSoftwarePresent = new ProcessBuilder("check software
presence").start().waitFor() == 0;
Assume.assumeTrue("Software not present", isSoftwarePresent ||
isJenkinsBuild);
```
for restricting the build to serial mode?
Would you be able and willing to set the Environment Variable "CI_BUILD"
when kicking off Jenkins:
```
pipeline {
stage('test'){
sh '''CI_BUILD="TRUE" // setting the env variable in the
same shell where you are running mvn
mvn test'''
}
}
```
Any better idea?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]