File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2+
3+ <!-- Common develocity.xml configuration for Maven shared between CI agents and developers building locally.
4+
5+ The build cache credentials required for CI builds to write to the remote build cache are read from environment variables.
6+ Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and
7+ Credentials Binding plugin (https://plugins.jenkins.io/credentials-binding/), or the credentials are injected using the
8+ vendor-specific mechanism of the CI server running the build.
9+
10+ Note: In the XML configuration below, you need to adjust
11+
12+ - the server url of your Develocity server
13+ - the name of the environment variable that reveals the build is running in a CI environment
14+ - the names of the environment variables holding the build cache credentials
15+
16+ to the specifics of your CI server settings. -->
17+
18+ <develocity
19+ xmlns =" https://www.gradle.com/develocity-maven" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
20+ xsi : schemaLocation =" https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd" >
21+ <server >
22+ <url >https://ge.apache.org</url >
23+ <allowUntrusted >false</allowUntrusted >
24+ </server >
25+ <buildScan >
26+ <backgroundBuildScanUpload >#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload >
27+ <obfuscation >
28+ <ipAddresses >#{{'0.0.0.0'}}</ipAddresses >
29+ </obfuscation >
30+ <publishing >
31+ <onlyIf >
32+ <![CDATA[ authenticated]]>
33+ </onlyIf >
34+ </publishing >
35+ </buildScan >
36+ <buildCache >
37+ <local >
38+ <enabled >false</enabled >
39+ </local >
40+ <remote >
41+ <enabled >false</enabled >
42+ <storeEnabled >#{isTrue(env['GITHUB_ACTIONS'])}</storeEnabled > <!-- adjust to your CI provider -->
43+ </remote >
44+ </buildCache >
45+ </develocity >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <extensions >
3+ <extension >
4+ <groupId >com.gradle</groupId >
5+ <artifactId >develocity-maven-extension</artifactId >
6+ <version >1.21.4</version >
7+ </extension >
8+ <extension >
9+ <groupId >com.gradle</groupId >
10+ <artifactId >common-custom-user-data-maven-extension</artifactId >
11+ <version >2.0</version >
12+ </extension >
13+ </extensions >
You can’t perform that action at this time.
0 commit comments