# Evergreen

> Evergreen is an Agent Skill for devops & security published in the mongodb/mongo-java-driver repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `evergreen`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/mongodb/mongo-java-driver/blob/HEAD/.agents/skills/evergreen/SKILL.md
- Repository: mongodb/mongo-java-driver (2,659 GitHub stars when collected)

## SKILL.md

# 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:

```bash
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:

```bash
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.

---

Source: https://www.openparable.com/skill/devops-security/evergreen (OpenParable). Cite the canonical URL above.
