Skip to content

Commit

Permalink
Fix mis-naming of branches
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Mar 19, 2019
1 parent 846fb11 commit b61ec89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tasks.create('pipeline', UploadPipeline) {
commandStep {
label ':maven: Publish JARs'
command './gradlew publish --continue $${GRADLE_SWITCHES}'
branch '*.*.*'
branches '*.*.*'
agentQueue 'builder'
dockerComposeContainer 'gradle'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ class UploadPipeline extends DefaultTask {
/**
* The branch pattern defining which branches will include this step in their builds.
*
* @param branch
* @param branches The branches to match.
*/
void branch(String branch) {
model.branches = branch
void branches(String... branches) {
model.branches = branches.join(' ')
}
}

Expand Down

0 comments on commit b61ec89

Please sign in to comment.