Skip to content

Commit

Permalink
Add Jenkins configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
donat committed Jan 13, 2025
1 parent a4f020b commit 01dd848
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// allow build to publish build scans to develocity-staging.eclipse.org
def secrets = [
[path: 'cbi/tools.buildship/develocity.eclipse.org', secretValues: [
[envVar: 'DEVELOCITY_ACCESS_KEY', vaultKey: 'api-token']
]
]
]


pipeline {
agent any

tools {
// https://github.com/eclipse-cbi/jiro/wiki/Tools-(JDK,-Maven,-Ant)#jdk
jdk 'openjdk-jdk11-latest'
}


triggers {
githubPush()
}

stages {
stage('Gradle Help') {
steps {
withVault([vaultSecrets: secrets]) {
sh './gradlew compileJava'
}

}
}
}
}

0 comments on commit 01dd848

Please sign in to comment.