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/.develocity/
.scannerwork/
.vscode
*.iml

View File

@ -1,6 +1,6 @@
<?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.
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
- 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 names of the environment variables holding the build cache credentials
to the specifics of your CI server settings. -->
<gradleEnterprise
xmlns="https://www.gradle.com/gradle-enterprise-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">
<develocity
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
<server>
<url>https://ge.openapi-generator.tech/</url> <!-- adjust to your GE server -->
<allowUntrusted>false</allowUntrusted> <!-- ensure a trusted certificate is configured -->
<url>https://ge.openapi-generator.tech/</url>
<allowUntrusted>false</allowUntrusted>
</server>
<buildScan>
<captureGoalInputFiles>true</captureGoalInputFiles>
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
<publish>ALWAYS</publish>
<publishIfAuthenticated>true</publishIfAuthenticated>
<publishing>
<onlyIf>authenticated</onlyIf>
</publishing>
<obfuscation>
<!-- Use a redacted value.-->
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
@ -42,4 +42,4 @@
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
</remote>
</buildCache>
</gradleEnterprise>
</develocity>

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB