Skip to content

Syntax improvements, convenience steps

Compare
Choose a tag to compare
@sagebind sagebind released this 26 Jun 21:44
· 34 commits to master since this release

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 the buildkite {} 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.