Releases: Widen/buildkite-gradle-plugin
Releases · Widen/buildkite-gradle-plugin
Include pipelines defined in ./.buildkite automatically
Added
- Pipelines defined inside external scripts matching
.buildkite/pipeline*.gradle
will be applied automatically, so that you can easily break up all your pipelines into separate files and avoid a massive rootbuild.gradle
file.
Syntax improvements, convenience steps
Migrating from 0.1
Find all of your UploadPipeline
tasks...
tasks.create('pipeline', com.widen.plugins.UploadPipeline) {
// normal steps
}
tasks.create('masterPipeline', com.widen.plugins.UploadPipeline) {
// master branch steps
}
and change them into pipelines defined inside a buildkite {}
block:
buildkite {
pipeline { // default pipeline
// normal steps
}
pipeline('master') {
// master branch steps
}
}
Then, instead of running ./gradlew masterPipeline
, run ./gradlew uploadMasterPipeline
.
Changed
UploadPipeline
task removed. Use thebuildkite {}
DSL to define pipelines.
Added
- You can now define command steps that invoke a Gradle task inside Docker with less boilerplate using
gradleStep
. - You can now define command steps that publish docs to https://docs.yden.us with less boilerplate using
publishDocsStep
. - Default Buildkite plugin versions are now configurable.
Pipeline-wide variables
Added
- Add ability to set pipeline-wide environment variables.
Docker Compose build fix
Fixed
- Fix bug in
dockerCompose.build()
producing invalid pipeline JSON.
More properties
Added
- Expose more properties for docker and command steps.
Docker, Docker Compose, Retry
Added
- Add new basic convenience DSLs for Docker, and Docker Compose plugins, which saves the boilerplate of specifying the plugin name, etc.
- Add a DSL for automatic retry configuration.
Changed
- Remove the
dockerComposeContainer
method in favor of the DSL.
Fix branch naming
Changed
- Rename
branch
tobranches
to match the Buildkite lingo.
Enable variable interpolation
Fixed
- Enable variable interpolation by default.
Publishing issues
Fixed
- Fix publishing issues in the Buildkite pipeline for the plugin.
First release
Added
- Added minimally viable plugin stuff, plus a basic Buildkite pipeline DSL.