New maven options to parallelize the builds.

This commit is contained in:
Manuele Simi 2019-10-10 21:57:37 -04:00
parent 9fb56fc246
commit 9f4d80e1ed
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -69,6 +69,7 @@ pipeline {
// see https://jenkins.io/doc/book/pipeline/syntax/#environment
environment {
JOB_OPTIONS = "${options}"
MAVEN_OPTS="-Dmaven.artifact.threads=16 -T 2C"
AGENT_ROOT_FOLDER = "${agent_root_folder}"
MAVEN_SETTINGS_FILE = "${maven_settings_file}"
MAVEN_LOCAL_REPO = "${agent_root_folder}/${maven_local_repo_path}"