mirror of
https://github.com/gradle/actions.git
synced 2025-02-03 15:26:42 -05:00
Update to CCUDGP 2.1 (#524)
This change primarily impacts test projects and documentation. The only material impact is that CCUD 2.1 will now be auto-applied when publishing Build Scans automatically with `build-scan-publish: true`. (Develocity injection does not hard-code any CCUD version)
This commit is contained in:
parent
7749a316b1
commit
3bfa1140fc
7 changed files with 9 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.19"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.0.2"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.1"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id("com.gradle.develocity") version "3.19"
|
||||
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0.2"
|
||||
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.1"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
DEVELOCITY_INJECTION_ENABLED: true
|
||||
DEVELOCITY_URL: https://ge.solutions-team.gradle.com
|
||||
DEVELOCITY_PLUGIN_VERSION: ${{ matrix.plugin-version }}
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.0.2'
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.1'
|
||||
${{matrix.accessKeyEnv}}: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
DEVELOCITY_INJECTION_ENABLED: true
|
||||
DEVELOCITY_URL: 'https://ge.solutions-team.gradle.com'
|
||||
DEVELOCITY_PLUGIN_VERSION: ${{ matrix.plugin-version }}
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.0.2'
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.1'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -117,7 +117,7 @@ jobs:
|
|||
DEVELOCITY_INJECTION_ENABLED: true
|
||||
DEVELOCITY_URL: 'https://localhost:3333/'
|
||||
DEVELOCITY_PLUGIN_VERSION: ${{ matrix.plugin-version }}
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.0.2'
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: '2.1'
|
||||
# Access key also set as an env var, we want to check it does not leak
|
||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||
|
|
|
@ -902,7 +902,7 @@ Here's an example using the env vars:
|
|||
DEVELOCITY_URL: https://develocity.your-server.com
|
||||
DEVELOCITY_ENFORCE_URL: true
|
||||
DEVELOCITY_PLUGIN_VERSION: "3.19"
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: "2.0.2"
|
||||
DEVELOCITY_CCUD_PLUGIN_VERSION: "2.1"
|
||||
```
|
||||
|
||||
# Dependency verification
|
||||
|
|
|
@ -23,7 +23,7 @@ export async function setup(config: BuildScanConfig): Promise<void> {
|
|||
if (config.getBuildScanPublishEnabled()) {
|
||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true')
|
||||
maybeExportVariable('DEVELOCITY_PLUGIN_VERSION', '3.19')
|
||||
maybeExportVariable('DEVELOCITY_CCUD_PLUGIN_VERSION', '2.0.2')
|
||||
maybeExportVariable('DEVELOCITY_CCUD_PLUGIN_VERSION', '2.1')
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl())
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree())
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.19"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.0.2"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.1"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.zip.GZIPOutputStream
|
|||
|
||||
class BaseInitScriptTest extends Specification {
|
||||
static final String DEVELOCITY_PLUGIN_VERSION = '3.19'
|
||||
static final String CCUD_PLUGIN_VERSION = '2.0.2'
|
||||
static final String CCUD_PLUGIN_VERSION = '2.1'
|
||||
|
||||
static final TestGradleVersion GRADLE_3_X = new TestGradleVersion(GradleVersion.version('3.5.1'), 7, 9)
|
||||
static final TestGradleVersion GRADLE_4_X = new TestGradleVersion(GradleVersion.version('4.10.3'), 7, 10)
|
||||
|
|
Loading…
Reference in a new issue