gradle-enterprise-build-validation-scripts icon indicating copy to clipboard operation
gradle-enterprise-build-validation-scripts copied to clipboard

Unable to publish build scans to untrusted server without first modifying build

Open erichaagdev opened this issue 1 year ago • 0 comments

Given a build not already configured with Develocity and a Develocity server with an untrusted certificate, then there is no way to run an experiment successfully without first modifying the build to allow publishing build scans to an untrusted Develocity server.

The ssl.allowUntrustedServer property in network.settings only configures the API call to allow making calls to an untrusted server, but not build scan publication itself. Therefore, the -e / --enable-gradle-enterprise option can only be used in cases where the Develocity server is already using a trusted certificate.

erichaagdev avatar Feb 09 '24 16:02 erichaagdev