mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
Migrate from Gradle Enterprise to Develocity (#19264)
This commit is contained in:
parent
f082a35d2e
commit
d12cc0b63a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.mvn/.gradle-enterprise/
|
.mvn/.gradle-enterprise/
|
||||||
|
.mvn/.develocity/
|
||||||
.scannerwork/
|
.scannerwork/
|
||||||
.vscode
|
.vscode
|
||||||
*.iml
|
*.iml
|
||||||
|
@ -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>
|
@ -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>
|
||||||
|
6
pom.xml
6
pom.xml
@ -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>
|
||||||
|
@ -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"
|
||||||
|
BIN
website/static/img/companies/develocity.png
Normal file
BIN
website/static/img/companies/develocity.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
x
Reference in New Issue
Block a user