Skip to content

Commit

Permalink
Another try fixing configuration cache experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Jun 28, 2024
1 parent be540eb commit f069d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/gradle-configuration-cache-validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

set -euo pipefail

./gradlew --max-workers=8 --parallel --scan --build-cache --no-watch-fs --configuration-cache precommit
./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit

# Create a temporary file
tmpOutputFile=$(mktemp)
trap "rm $tmpOutputFile" EXIT

echo "2nd run"
# TODO run-gradle.sh script causes issues because of init script handling
./gradlew --max-workers=8 --parallel --scan --build-cache --no-watch-fs --configuration-cache precommit | tee $tmpOutputFile
./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit | tee $tmpOutputFile

# Check if the command was successful
if grep -q "Configuration cache entry reused." $tmpOutputFile; then
Expand Down

0 comments on commit f069d73

Please sign in to comment.