Skip to content

Commit 974669e

Browse files
committed
Disable Gradle file system watching in CI
File system watching is primarily used for incremental builds so in CI this only just adds unnecessary overhead and eats up inotify watches which can cause some of our tests to fail when these limits are hit.
1 parent 4a33266 commit 974669e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/jobs.t/defaults.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
COMPOSE_HTTP_TIMEOUT=120
5757
JOB_BRANCH=%BRANCH%
5858
HOME=$JENKINS_HOME
59-
GRADLEW=./gradlew --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
60-
GRADLEW_BAT=./gradlew.bat --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
59+
GRADLEW=./gradlew --parallel --scan --build-cache --no-watch-fs -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
60+
GRADLEW_BAT=./gradlew.bat --parallel --scan --build-cache --no-watch-fs -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
6161
publishers:
6262
# Disable Junit publisher for now since it's causing OOME on our Jenkins instance
6363
# - junit:

0 commit comments

Comments
 (0)