https://github.com/buildkite/gradle-docker-example
An example pipeline that builds and tests a Java application with Gradle inside Docker using Buildkite.
https://github.com/buildkite/gradle-docker-example
buildkite dcoker-compose docker example gradle java pipeline
Last synced: 2 months ago
JSON representation
An example pipeline that builds and tests a Java application with Gradle inside Docker using Buildkite.
- Host: GitHub
- URL: https://github.com/buildkite/gradle-docker-example
- Owner: buildkite
- License: mit
- Created: 2020-08-08T02:50:13.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-07-09T05:52:31.000Z (3 months ago)
- Last Synced: 2025-07-17T23:25:51.252Z (3 months ago)
- Topics: buildkite, dcoker-compose, docker, example, gradle, java, pipeline
- Homepage: https://buildkite.com/buildkite/gradle-docker-example/builds/latest?branch=main
- Size: 245 KB
- Stars: 3
- Watchers: 20
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Gradle Buildkite docker-compose example
[](https://buildkite.com/buildkite/gradle-docker-example/builds/latest?branch=main)
[](https://buildkite.com/new)This repository is an example [Buildkite](https://buildkite.com/) pipeline for building and testing a multi-project Java application using [Gradle](https://gradle.org/) and the [Docker Compose Buildkite Plugin](https://github.com/buildkite-plugins/docker-compose-buildkite-plugin).
👉 **See this example in action:** [buildkite.com/buildkite/gradle-docker-example](https://buildkite.com/buildkite/gradle-docker-example/builds/latest?branch=main)
See the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running, or try it yourself:
[](https://buildkite.com/new)
## How it works
This example:
- Uses Gradle to build and test a multi-project Java application
- Runs inside the official [Gradle Docker image](https://hub.docker.com/_/gradle) via Docker Compose
- Uploads build artifacts to Buildkite
- Works with Gradle 7.6+
- Plays nicely with the [Elastic CI Stack for AWS](https://github.com/buildkite/elastic-ci-stack-for-aws)The Java project comes from [Gradle's db-example-large-multi-project](https://github.com/gradle/db-example-large-multi-project).
## Requirements
- A [Buildkite agent](https://buildkite.com/docs/agent)
- No manual setup required — Gradle, Java, Docker, and Docker Compose are handled in the example pipeline## License
See [LICENSE.md](LICENSE.md) (MIT)