File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5- # TODO/ FIXIT without a full resolved gradle home, we see issues configuration cache reuse
6- ./gradlew --max-workers=8 --parallel --scan --no-daemon precommit
5+ # This is a workaround for https://github.com/ gradle/gradle/ issues/28159
6+ .ci/scripts/run-gradle.sh --no-daemon precommit
77
8- ./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/* .tar.bz2
8+ .ci/scripts/run-gradle.sh --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/* .tar.bz2
99
1010# Create a temporary file
1111tmpOutputFile=$( mktemp)
1212trap " rm $tmpOutputFile " EXIT
1313
1414echo " 2nd run"
15- # TODO run-gradle.sh script causes issues because of init script handling
16- ./gradlew --max-workers=8 --parallel --scan --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/* .tar.bz2 | tee $tmpOutputFile
15+ .ci/scripts/run-gradle.sh --configuration-cache precommit -Dorg.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/* .tar.bz2 | tee $tmpOutputFile
1716
1817# Check if the command was successful
1918if grep -q " Configuration cache entry reused." $tmpOutputFile ; then
You can’t perform that action at this time.
0 commit comments