File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change
1
+ // allow build to publish build scans to develocity-staging.eclipse.org
2
+ def secrets = [
3
+ [path : ' cbi/tools.buildship/develocity.eclipse.org' , secretValues : [
4
+ [envVar : ' DEVELOCITY_ACCESS_KEY' , vaultKey : ' api-token' ]
5
+ ]
6
+ ]
7
+ ]
8
+
9
+ pipeline {
10
+ agent any
11
+
12
+ tools {
13
+ // https://github.com/eclipse-cbi/jiro/wiki/Tools-(JDK,-Maven,-Ant)#jdk
14
+ jdk ' temurin-jdk11-latest'
15
+ }
16
+
17
+ environment {
18
+ CI = " true"
19
+ }
20
+
21
+ triggers {
22
+ githubPush()
23
+ }
24
+
25
+ stages {
26
+ stage(' Sanity check' ) {
27
+ steps {
28
+ withVault([vaultSecrets : secrets]) {
29
+ sh ' ./gradlew assemble checkstyleMain -Peclipse.version=434 -Pbuild.invoker=CI --info --stacktrace'
30
+ }
31
+
32
+ }
33
+ }
34
+ }
35
+ }
Original file line number Diff line number Diff line change 1
1
// publish build scans from CI builds
2
2
plugins {
3
- id " com.gradle.develocity" version " 3.18.1 "
4
- id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 2.0.2'
3
+ id " com.gradle.develocity" version " 3.19 "
4
+ // id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
5
5
}
6
6
7
7
8
8
def isCI = System . getenv(' CI' ) != null
9
9
10
10
develocity {
11
11
server = " https://develocity-staging.eclipse.org"
12
+ allowUntrustedServer = false // ensure a trusted certificate is configured
12
13
buildScan {
13
- publishing. onlyIf { true }
14
14
obfuscation {
15
15
username { name -> isCI ? ' ci' : ' local' }
16
16
ipAddresses { addresses -> addresses. collect { address -> " 0.0.0.0" } }
You can’t perform that action at this time.
0 commit comments