Commit Graph
8 Commits
Author SHA1 Message Date
Alexis TualandGitHub 70964b4c8c Adapt tests to future new Build Scan publication message (#708)
Similar to https://github.com/gradle/actions/pull/651, a new Build Scan
publication message will be introduced in the next Develocity Gradle
plugin. This PR just adapts the test.
2025-08-18 21:20:55 +02:00
Alexis TualandGitHub 96e9cb2865 Bump references to Develocity Gradle plugin from 4.0.1 to 4.0.2 (#651)
This PR bumps references to Develocity Gradle plugin from 4.0.1 to
4.0.2.
2025-06-03 14:34:55 +02:00
Alexis Tual 8470d8529f Adapt tests to new Build Scan publication message in Develocity Gradle plugin 4.0.2 2025-06-02 16:52:27 +02:00
Alexis TualandDaz DeBoer 765a73447c Fix passing expiresInHours query parameter 2024-09-12 18:43:23 -06:00
Alexis Tual bdc7162ff9 Forward the setup short-lived token Promise
This caused a race condition not allowing the short-lived token to be returned in time before the setup finished.
2024-06-17 19:03:10 +02:00
Alexis TualandGitHub 96b9cb4988 Set both DEVELOCITY_ACCESS_KEY and GRADLE_ENTERPRISE_ACCESS_KEY env vars (#225)
Follow up of https://github.com/gradle/actions/pull/224, we now attempt to set both old and new access key env variables to a short lived token.
If a short-lived token cannot be obtained, then:
- DEVELOCITY_ACCESS_KEY is set to an empty string, preventing this from being used.
- GRADLE_ENTERPRISE_ACCESS_KEY is left intact, with a deprecation warning being issued.
2024-05-17 15:07:50 -06:00
500e0ee5b3 Add support for short-lived tokens (#224)
The setup-gradle action tries to get a short-lived access token given the supplied Develocity access key.
This key can be passed either with the `DEVELOCITY_ACCESS_KEY` env var or via the  `develocity-access-key` input parameter.
If a token can be retrieved, then the `DEVELOCITY_ACCESS_KEY` env var will be set to the token. 
Otherwise the `DEVELOCITY_ACCESS_KEY` will be set to a blank string, to avoid a leak.

---------

Co-authored-by: daz <daz@gradle.com>
2024-05-15 16:49:55 -06:00
Alexis Tual cbd0ff0688 Fix for Gradle 7.6 compatibility 2022-11-29 12:34:32 +01:00