forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.yaml
More file actions
81 lines (81 loc) · 2.67 KB
/
build.yaml
File metadata and controls
81 lines (81 loc) · 2.67 KB
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
jabba:
- oracle_jdk8
- openjdk_jdk11
- openjdk_jdk12
- openjdk_jdk13
os:
- ubuntu/bionic64/java-driver
cassandra:
- '2.1'
- '3.0'
- '3.11'
- 'dse-4.8'
- 'dse-5.0'
- 'dse-5.1'
- 'dse-6.0'
- 'dse-6.7'
- 'dse-6.8'
schedules:
commit:
schedule: per_commit
matrix:
exclude:
# Just run against JDK8 and latest DSE (6.7 for now, change to 6.8 when released)
- jabba: oracle_jdk8
cassandra: ['2.1', '3.0', '3.11', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', 'dse-6.8']
# Exclude all other JDKs
- jabba: openjdk_jdk11
- jabba: openjdk_jdk12
- jabba: openjdk_jdk13
nightly:
schedule: nightly
matrix:
exclude:
# No excludes for JDK8
# Exclude JDK11 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk11
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
# Exclude JDK12 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk12
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
# Exclude JDK13 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk13
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
adhoc:
schedule: adhoc
matrix:
exclude:
# No excludes for JDK8
# Exclude JDK11 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk11
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
# Exclude JDK12 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk12
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
# Exclude JDK13 for all but the latest Cassandra and DSE 6.7+
- jabba: openjdk_jdk13
cassandra: ['2.1', '3.0', 'dse-4.8', 'dse-5.0', 'dse-5.1', 'dse-6.0', dse-6.8']
build:
- properties: |
ccm.version=$CCM_CASSANDRA_VERSION
ccm.dse=$CCM_IS_DSE
proxy.path=$HOME/proxy
maven.javadoc.skip=true
- script: |
# Jabba default should be a JDK8 for now
jabba use default
export MAVEN_HOME=/home/jenkins/.mvn/apache-maven-3.3.9
export PATH=$MAVEN_HOME/bin:$PATH
# Build with the default JDK
mvn -B -V install -DskipTests
# Use the matrix JDK for testing
jabba use $JABBA_JDK_NAME
# Run tests against matrix JDK
mvn -B -V verify --batch-mode --show-version
- xunit:
- "**/target/surefire-reports/TEST-*.xml"
- "**/target/failsafe-reports/TEST-*.xml"
- jacoco: true
disable_commit_status: true
notify:
slack: java-driver-dev-bots