develocity-build-config-samples icon indicating copy to clipboard operation
develocity-build-config-samples copied to clipboard

Maven build caching samples are re-enabled

Open erichaagdev opened this issue 5 months ago • 1 comments

This PR re-enables the Maven build caching workflow and also adds unhandled parameters that have appeared since the workflow had been disabled.

I've also modernized the workflow to use the -Ddevelocity.cache.failOnUnhandledParameters=true command line parameter to fail the build when there are unhandled parameters. This replaces the manual parsing of logs we needed to do previously. This allows us to also use our own official BVS workflows instead of invoking the scripts directly using a run step.

See here for an example of what it looks like when there are any unhandled parameters: https://github.com/gradle/develocity-build-config-samples/actions/runs/10946128578/job/30391887309?pr=1399#step:7:3127

image

erichaagdev avatar Sep 05 '24 20:09 erichaagdev