This repo contains a Maven project, and demostrates how a GitHub Actions workflow can inject the required configuration to connect to Develocity before executing the build.
Key pieces:
- "Inject Develocity" workflow step
- This step copies the Develocity configuration files into the
.mvn
directory
- This step copies the Develocity configuration files into the
- Develocity configuration files
- These example files connect to the Develocity instance at
https://ge.solutions-team.gradle.com
. This URL should be changed as required.
- These example files connect to the Develocity instance at
Each resulting workflow run will produce a Develocity Build Scan®. The link is visible at the end of the build step.