Migrate from Gradle Enterprise to Develocity (#19264)

This commit is contained in:
Jérôme Prinet 2024-07-29 18:47:45 +02:00 committed by GitHub
parent f082a35d2e
commit d12cc0b63a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 23 additions and 22 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
.mvn/.gradle-enterprise/ .mvn/.gradle-enterprise/
.mvn/.develocity/
.scannerwork/ .scannerwork/
.vscode .vscode
*.iml *.iml

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Common gradle-enterprise.xml configuration for Maven shared between CI agents and developers building locally. <!-- Common develocity.xml configuration for Maven shared between CI agents and developers building locally.
The build cache credentials required for CI builds to write to the remote build cache are read from environment variables. The build cache credentials required for CI builds to write to the remote build cache are read from environment variables.
Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and
@ -9,24 +9,24 @@
Note: In the XML configuration below, you need to adjust Note: In the XML configuration below, you need to adjust
- the server url of your Gradle Enterprise server - the server url of your Develocity server
- the name of the environment variable that reveals the build is running in a CI environment - the name of the environment variable that reveals the build is running in a CI environment
- the names of the environment variables holding the build cache credentials - the names of the environment variables holding the build cache credentials
to the specifics of your CI server settings. --> to the specifics of your CI server settings. -->
<gradleEnterprise <develocity
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd"> xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
<server> <server>
<url>https://ge.openapi-generator.tech/</url> <!-- adjust to your GE server --> <url>https://ge.openapi-generator.tech/</url>
<allowUntrusted>false</allowUntrusted> <!-- ensure a trusted certificate is configured --> <allowUntrusted>false</allowUntrusted>
</server> </server>
<buildScan> <buildScan>
<captureGoalInputFiles>true</captureGoalInputFiles>
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider --> <backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
<publish>ALWAYS</publish> <publishing>
<publishIfAuthenticated>true</publishIfAuthenticated> <onlyIf>authenticated</onlyIf>
</publishing>
<obfuscation> <obfuscation>
<!-- Use a redacted value.--> <!-- Use a redacted value.-->
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses> <ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
@ -42,4 +42,4 @@
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled> <storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
</remote> </remote>
</buildCache> </buildCache>
</gradleEnterprise> </develocity>

View File

@ -2,12 +2,12 @@
<extensions> <extensions>
<extension> <extension>
<groupId>com.gradle</groupId> <groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId> <artifactId>develocity-maven-extension</artifactId>
<version>1.20.1</version> <version>1.21.6</version>
</extension> </extension>
<extension> <extension>
<groupId>com.gradle</groupId> <groupId>com.gradle</groupId>
<artifactId>common-custom-user-data-maven-extension</artifactId> <artifactId>common-custom-user-data-maven-extension</artifactId>
<version>1.12.5</version> <version>2.0</version>
</extension> </extension>
</extensions> </extensions>

View File

@ -414,9 +414,9 @@
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.gradle</groupId> <groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId> <artifactId>develocity-maven-extension</artifactId>
<configuration> <configuration>
<gradleEnterprise> <develocity>
<normalization> <normalization>
<runtimeClassPath> <runtimeClassPath>
<ignoredFiles> <ignoredFiles>
@ -424,7 +424,7 @@
</ignoredFiles> </ignoredFiles>
</runtimeClassPath> </runtimeClassPath>
</normalization> </normalization>
</gradleEnterprise> </develocity>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -173,6 +173,11 @@
image: "img/companies/deeproute_logo.jpg" image: "img/companies/deeproute_logo.jpg"
infoLink: "https://www.deeproute.ai/" infoLink: "https://www.deeproute.ai/"
pinned: false pinned: false
-
caption: Develocity
image: "img/companies/develocity.png"
infoLink: "https://gradle.com/"
pinned: false
- -
caption: "dmTECH GmbH" caption: "dmTECH GmbH"
image: "img/companies/dmtech.jpeg" image: "img/companies/dmtech.jpeg"
@ -268,11 +273,6 @@
image: "img/companies/godaddy.png" image: "img/companies/godaddy.png"
infoLink: "https://www.godaddy.com/" infoLink: "https://www.godaddy.com/"
pinned: false pinned: false
-
caption: Gradle Enterprise
image: "img/companies/gradle-enterprise.png"
infoLink: "https://gradle.com/"
pinned: false
- -
caption: "Gumtree" caption: "Gumtree"
image: "img/companies/gumtree.png" image: "img/companies/gumtree.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB