[JAVA-2365] Add Check build variant that the test matrix depends on Created: 14/Oct/16  Updated: 13/Oct/17  Resolved: 11/Jan/17

Status: Closed
Project: Java Driver
Component/s: Continuous Integration
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Brian McCarthy
Resolution: Done Votes: 0
Labels: build-group-drivers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Epic Link: Evergreen

 Description   

We shouldn't start the test matrix if any static checks fails. For this we should have a Check build variant that does the following

./gradlew -PxmlReports.enabled=true --info -x test clean check jar testClasses javadoc

There is no need for MongoDB to be running for this.

Then in run_tests.sh the command for compilation prior to running the tests can be simplified to:

./gradlew --info classes testClasses



 Comments   
Comment by Githook User [ 11/Jan/17 ]

Author:

{u'username': u'briananthonymccarthy', u'name': u'Brian McCarthy', u'email': u'brian.mccarthy@mongodb.com'}

Message: JAVA-2365, JAVA-2367, JAVA-2351, JAVA-2357: Full evergreen test matrix
Branch: 3.4.x
https://github.com/mongodb/mongo-java-driver/commit/14a512f629c027f17750fbbeffd7a09806679bce

Comment by Githook User [ 11/Jan/17 ]

Author:

{u'username': u'briananthonymccarthy', u'name': u'Brian McCarthy', u'email': u'brian.mccarthy@mongodb.com'}

Message: JAVA-2365, JAVA-2367, JAVA-2351, JAVA-2357: Full evergreen test matrix
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4ecb6114f46199b6d5fb2c2ddc18448cff077bcf

Generated at Thu Feb 08 08:57:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.