File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ variables:
16
16
# Docker volume containing GRADLE_USER_HOME. If the container is stopped after a job
17
17
# Gradle daemons may get killed, preventing proper clean-up of lock files in GRADLE_USER_HOME.
18
18
# Configure file.encoding to always use UTF-8 when running Gradle.
19
- GRADLE_OPTS : " -Dorg.gradle.daemon=false -Dfile.encoding=UTF-8"
19
+ # Use low priority processes to avoid Gradle builds consuming all build machine resources.
20
+ GRADLE_OPTS : " -Dorg.gradle.daemon=false -Dfile.encoding=UTF-8 -Dorg.gradle.priority=low"
20
21
GITLAB_REPO_ARGS : " -PgitlabUrl=$CI_SERVER_URL -PgitlabTokenName=Job-Token -PgitlabPrivateToken=$CI_JOB_TOKEN"
21
22
CENTRAL_REPO_ARGS : " -PsonatypeUsername=$SONATYPE_USER -PsonatypePassword=$SONATYPE_PWD"
22
23
# CI_COMMIT_REF_SLUG is the branch or tag name, but web-safe (only 0-9, a-z)
You can’t perform that action at this time.
0 commit comments