Skip to content

Commit

Permalink
Disable Gradle file system watching in CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mark-vieira committed Sep 30, 2022
1 parent 4a33266 commit 974669e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/jobs.t/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
COMPOSE_HTTP_TIMEOUT=120
JOB_BRANCH=%BRANCH%
HOME=$JENKINS_HOME
GRADLEW=./gradlew --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
GRADLEW_BAT=./gradlew.bat --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
GRADLEW=./gradlew --parallel --scan --build-cache --no-watch-fs -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
GRADLEW_BAT=./gradlew.bat --parallel --scan --build-cache --no-watch-fs -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
publishers:
# Disable Junit publisher for now since it's causing OOME on our Jenkins instance
# - junit:
Expand Down

0 comments on commit 974669e

Please sign in to comment.