Version 1.0.0
Language EN

Groovy Example

This guide covers configuring continuous integration pipelines for Groovy projects. If you’re new to Drone please read our Tutorial and build configuration guides first.

Build and Test

In the below example we demonstrate a pipeline that executes ./gradlew assemble and ./gradlew check commands. These commands are executed inside a Docker container, downloaded at runtime from DockerHub.

kind: pipeline
name: default

steps:
- name: test
  image: gradle:2.5-jdk8
  commands:
  - ./gradlew assemble
  - ./gradlew check

Please note that you can use any Docker image in your pipeline from any Docker registry. You can use the official groovy images, or your can bring your own.

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.