-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathJenkinsfile
More file actions
35 lines (29 loc) · 791 Bytes
/
Jenkinsfile
File metadata and controls
35 lines (29 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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 'temurin-jdk21-latest'
}
environment {
CI = "true"
}
triggers {
githubPush()
}
stages {
stage('Sanity check') {
steps {
withVault([vaultSecrets: secrets]) {
sh './gradlew assemble checkstyleMain -Peclipse.version=436 -Pbuild.invoker=CI --info --stacktrace'
}
}
}
}
}