This is an example project that you can use to experience build scans.
It is a small Java project that has the Gradle Enterprise Maven Extension already applied.
Follow these simple steps to create a build scan:
- Clone this project
- Run
./mvnw clean test
The build should end with something similar to:
Publishing build scan...
https://gradle.com/s/ria2s2x5oaazq
Follow the link shown at the end of the build to view your build scan.
Create different kinds of build scans by locally modifying this quickstart project. Here are some ideas:
- Edit
src/main/java/example/Example.java
to introduce compile errors - Add more plugins and more projects
Alternatively, enable one of your own Maven builds to produce build scans by following the step-by-step instructions.
Read the Gradle Enterprise Maven Extension User Manual to learn more about build scans and build caching.
Talk to us on the Gradle forum.