Skip to content

Commit

Permalink
[CI] Stop gradle processes between tasks in packer cache
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Oct 29, 2024
1 parent 23e1116 commit 812e438
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .buildkite/packer_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ for branch in "${branches[@]}"; do

export JAVA_HOME="$HOME/.java/$ES_BUILD_JAVA"
"checkout/${branch}/gradlew" --project-dir "$CHECKOUT_DIR" --parallel -s resolveAllDependencies -Dorg.gradle.warning.mode=none -DisCI --max-workers=4
"checkout/${branch}/gradlew" --stop
pkill -f '.*GradleDaemon.*'
rm -rf "checkout/${branch}"
done

0 comments on commit 812e438

Please sign in to comment.