Skip to content

Commit

Permalink
feat: add develocity
Browse files Browse the repository at this point in the history
Signed-off-by: sebastien.heurtematte <[email protected]>
  • Loading branch information
heurtematte committed Aug 6, 2024
1 parent da6db8a commit 9feaa8b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.mvn
target
bin
5 changes: 5 additions & 0 deletions .mvn/develocity.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<develocity>
<server>
<url>https://develocity-staging.eclipse.org</url>
</server>
</develocity>
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<extensions>
<extension>
<groupId>com.gradle</groupId>
<artifactId>develocity-maven-extension</artifactId>
<version>1.21.6</version>
</extension>
</extensions>
11 changes: 10 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
def secrets = [
[path: 'cbi/technology.cbi/develocity.eclipse.org', secretValues: [
[envVar: 'DEVELOCITY_ACCESS_KEY', vaultKey: 'api-token']
]
]
]

pipeline {
agent any
options {
Expand All @@ -15,7 +22,9 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'mvn clean verify -Prelease -B'
withVault([vaultSecrets: secrets]) {
sh 'mvn clean verify -Prelease -B'
}
}
}
stage('Deploy') {
Expand Down

0 comments on commit 9feaa8b

Please sign in to comment.