Evergreen

Evergreen CI infrastructure, configuration validation. Use when modifying .evergreen/ config, preparing to submit changes or understanding the Evergreen test matrix.

mongodb Updated

File contents

Evergreen

Evergreen (MongoDB Internal CI)

Primary CI runs on MongoDB’s Evergreen system. Configuration lives in .evergreen/.

  • Do not modify .evergreen/ configuration without review
  • Evergreen runs the full test matrix across MongoDB versions, OS platforms, and JDK versions

Validating Evergreen Configuration

After modifying .evergreen/ files, validate the config locally:

evergreen validate .evergreen/.evg.yml

Always run this before submitting changes to .evergreen/ to catch syntax errors and invalid task definitions.

Testing with a Patch Build

To test your changes on Evergreen before merging, create a patch build:

evergreen patch -u

This uploads your uncommitted and committed local changes as a patch build on Evergreen, allowing you to run the full CI test matrix against your branch.

mongodb/mongo-java-driver commit 37b73a03f7

Frequently asked questions

npx get-skill add mongodb/evergreen