-
Notifications
You must be signed in to change notification settings - Fork 337
/
Jenkinsfile_ci_build
45 lines (43 loc) · 1.46 KB
/
Jenkinsfile_ci_build
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
pipeline {
agent none
options {
timeout(time: 30, activity: true, unit: 'HOURS')
}
stages {
stage('Jersey build') {
parallel {
stage('JDK 11') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk11-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
bash ${WORKSPACE}/etc/scripts/validation/dependency-convergence.sh
'''
}
}
stage('JDK 21') {
agent {
label 'centos-7'
}
tools {
jdk 'openjdk-jdk21-latest'
maven 'apache-maven-latest'
}
steps {
sh '''
bash ${WORKSPACE}/etc/jenkins/jenkins_build.sh
export EXCLUDE_ARGS=' -pl !:jersey-container-jetty11-http,!:jersey-jetty11-connector '
bash ${WORKSPACE}/etc/scripts/validation/dependency-convergence.sh
'''
}
}
}
}
}
}