gradle-enterprise-build-validation-scripts
gradle-enterprise-build-validation-scripts copied to clipboard
Unable to publish build scans to untrusted server without first modifying build
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.