forked from adoptium/ci-jenkins-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jdk17u_pipeline_config.groovy
137 lines (119 loc) · 4.88 KB
/
jdk17u_pipeline_config.groovy
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
class Config17 {
final Map<String, Map<String, ?>> buildConfigurations = [
x64Mac : [
os : 'mac',
arch : 'x64',
additionalNodeLabels: 'macos10.14',
test : 'default',
configureArgs : '--enable-dtrace'
],
x64Linux : [
os : 'linux',
arch : 'x64',
dockerImage: [
hotspot : 'adoptopenjdk/centos6_build_image',
openj9 : 'adoptopenjdk/centos7_build_image'
],
dockerFile: [
openj9 : 'pipelines/build/dockerFiles/cuda.dockerfile'
],
test : 'default',
additionalTestLabels: [
openj9 : '!(centos6||rhel6)'
],
configureArgs : [
"openj9" : '--enable-dtrace --enable-jitserver',
"hotspot" : '--enable-dtrace'
]
],
x64AlpineLinux : [
os : 'alpine-linux',
arch : 'x64',
dockerImage : 'adoptopenjdk/alpine3_build_image',
test : 'default',
configureArgs : '--enable-headless-only=yes'
],
x64Windows: [
os : 'windows',
arch : 'x64',
additionalNodeLabels: 'win2012&&vs2017',
test : 'default'
],
// TODO: Enable testing (https://github.com/adoptium/ci-jenkins-pipelines/issues/77)
aarch64Windows: [
os : 'windows',
arch : 'aarch64',
crossCompile : 'x64',
buildArgs : '--cross-compile',
additionalNodeLabels: 'win2016&&vs2019',
test : [
nightly: [],
weekly : []
]
],
x32Windows: [
os : 'windows',
arch : 'x86-32',
additionalNodeLabels: 'win2012&&vs2017',
buildArgs : [
hotspot : '--jvm-variant client,server'
],
test : 'default'
],
ppc64Aix : [
os : 'aix',
arch : 'ppc64',
additionalNodeLabels: [
hotspot: 'xlc16&&aix710',
openj9: 'xlc16&&aix715'
],
test : 'default',
cleanWorkspaceAfterBuild: true
],
s390xLinux : [
os : 'linux',
arch : 's390x',
test : 'default',
configureArgs : '--enable-dtrace'
],
ppc64leLinux : [
os : 'linux',
arch : 'ppc64le',
additionalNodeLabels: 'centos7',
test : 'default',
configureArgs : [
"hotspot" : '--enable-dtrace',
"openj9" : '--enable-dtrace --enable-jitserver'
]
],
aarch64Linux : [
os : 'linux',
arch : 'aarch64',
dockerImage : 'adoptopenjdk/centos7_build_image',
test : 'default',
configureArgs : '--enable-dtrace',
testDynamic : false
],
aarch64Mac: [
os : 'mac',
arch : 'aarch64',
additionalNodeLabels: 'macos11',
test : 'default'
],
arm32Linux : [
os : 'linux',
arch : 'arm',
test : 'default',
configureArgs : '--enable-dtrace'
],
riscv64Linux : [
os : 'linux',
arch : 'riscv64',
configureArgs : '--enable-dtrace --with-native-debug-symbols=none',
buildArgs : '-r https://github.com/openjdk/jdk-sandbox -b riscv-port-branch --custom-cacerts false --disable-adopt-branch-safety',
test : 'default'
]
]
}
Config17 config = new Config17()
return config.buildConfigurations