diff options
author | Dominik Stadler <centic@apache.org> | 2021-11-07 14:59:48 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2021-11-07 14:59:48 +0000 |
commit | 53217e2b1e9d6871b2babfd74fb52129f6cf7461 (patch) | |
tree | 6a42fe1a38d03790f30a9bf003852080a82e8ba0 /jenkins | |
parent | c2936346f82699d3d2ed5cf1a9c17cc05da9bbcc (diff) | |
download | poi-53217e2b1e9d6871b2babfd74fb52129f6cf7461.tar.gz poi-53217e2b1e9d6871b2babfd74fb52129f6cf7461.zip |
Use parallel build to speed up building and running tests
Enable parallel building and parallel test-execution
Provide a configuration to still build/test serially on CI
via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build
Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI
Adjust TestAllFiles to not fail when parallel builds are enabled
Reduce memory settings to reduce requirements on build-environments
Add gradle plugin to list task-dependencies
Thanks to Andreas Reichel for the PR
Closes #275
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index c8397fa1cb..761e1af34a 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -262,6 +262,7 @@ poijobs.each { poijob -> label(slaves) environmentVariables { env('LANG', 'en_US.UTF-8') + env('CI_BUILD', 'TRUE') if(jdkKey == '1.10') { // when using JDK 9/10 for running Ant, we need to provide more modules for the forbidden-api-checks task // on JDK 11 and newer there is no such module any more, so do not add it here |