Skip to content

Commit b58bb36

Browse files
Develocity setup
1 parent 31d0eae commit b58bb36

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

.cirrus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ env:
1212
#Possible values for ARTIFACTORY_DEPLOY_REPO: sonarsource-private-qa, sonarsource-public-qa
1313
ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa
1414
ARTIFACTORY_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
15+
DEVELOCITY_TOKEN: VAULT[development/kv/data/develocity data.token]
16+
DEVELOCITY_ACCESS_KEY: develocity.sonar.build=${DEVELOCITY_TOKEN}
1517
# Use bash (instead of sh on linux or cmd.exe on windows)
1618
CIRRUS_SHELL: bash
1719

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Maven
22
target/
3+
.mvn/.develocity/
34

45
# IntelliJ IDEA
56
*.iws

.mvn/develocity.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<develocity>
2+
<server>
3+
<url>https://develocity.sonar.build</url>
4+
</server>
5+
<buildCache>
6+
<local>
7+
<storeEnabled>#{env['CI'] == null}</storeEnabled>
8+
</local>
9+
<remote>
10+
<storeEnabled>#{env['CI'] != null}</storeEnabled>
11+
</remote>
12+
</buildCache>
13+
</develocity>

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions>
2+
<extension>
3+
<groupId>com.gradle</groupId>
4+
<artifactId>develocity-maven-extension</artifactId>
5+
<version>1.22.2</version>
6+
</extension>
7+
</extensions>

0 commit comments

Comments
 (0)