Elffuss BraidHub

kikocis/java-driver public

Update jenkins jobs to run long suites against primary branches nightly

Reduces the amount of activity on jenkins by running only short suites
on commit against enough C* versions to get full coverage.

Long suites are ran against primary branches (3.x, 3.0.x, 2.1, etc.)
nightly if they change.
Changeset178485c47945da00db3d292b4cea5c5b167a31d64cbfa8a42ffc98447c76bab1
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-09-22 15:05 -05:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-10-04 14:28 -05:00
Parentsca32d97e3bd3

Browse the files at this changeset

1 file changed

modified build.yaml +20 −2
@@ -1,3 +1,21 @@
1+schedules:
2+ commit:
3+ # Run short suite on commit with enough C* versions to get full protocol version coverage.
4+ schedule: per_commit
5+ matrix:
6+ exclude:
7+ - java: [openjdk6, oraclejdk7]
8+ - cassandra: ['2.2', '3.0']
9+ env_vars: |
10+ TEST_GROUP="short"
11+ nightly:
12+ # Run full suite nightly on change for all primary branches if they have changes.
13+ schedule: nightly
14+ branches:
15+ # regex matches primary branch format (2.1, 3.x, 3.0.x, 3.1.x, etc).
16+ include: ["/\\d+(\\.[\\dx]+)+/"]
17+ env_vars: |
18+ TEST_GROUP="long"
119 java:
220 - openjdk6
321 - oraclejdk7
@@ -10,11 +28,11 @@
1028 - 2.1
1129 - 2.2
1230 - 3.0
13- - 3.7
31+ - 3.9
1432 build:
1533 - type: maven
1634 version: 3.2.5
17- goals: verify --fail-never -Plong
35+ goals: verify --fail-never -P$TEST_GROUP
1836 properties: |
1937 com.datastax.driver.TEST_BASE_NODE_WAIT=120
2038 com.datastax.driver.NEW_NODE_DELAY_SECONDS=100