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.