mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
[CI] Stop gradle processes between tasks in packer cache
This commit is contained in:
parent
23e1116adb
commit
812e438492
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue