gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.
Apache License 2.0
222 stars 50 forks source link

Switch to develocity.grdev.net for publishing builds #309

Closed snoopcheri closed 1 month ago

snoopcheri commented 1 month ago

Since e.grdev.net is soon read-only, we should switch to the new internal DV instance.

I believe the access key for the new server is already configured in TeamCity. But we'll see...

Verify All job for this PR: here

TC Job demonstrating that uploading build scan to new server works: here

snoopcheri commented 1 month ago

It seems that publishing to develocity.grdev.net does not work:

Publishing build scan...
19:01:58   
19:01:58   The Develocity server (develocity.grdev.net) rejected the request due to authentication being required.
19:01:58   If you are able to sign in to this server in a web browser, you can authenticate your environment by running the following task:
19:01:58   
19:01:58   :provisionDevelocityAccessKey
19:01:58   
19:01:58   Or see https://gradle.com/help/gradle-plugin-authenticating for additional help with authenticating your build environment.
19:01:58   
19:01:58   Access keys are currently configured for the following servers: [e.grdev.net, ge.gradle.org]

The reason is that the env variable DEVELOCITY_ACCESS_KEY on TC does not configure a value for the new server yet:

Screenshot 2024-08-16 at 09 21 11

snoopcheri commented 1 month ago

After adding develocity.grdev.net.access.key to the env variable, the build scan upload now works.