Skip to content

Commit

Permalink
fix: remove extra curly brace in script (elastic#21692)
Browse files Browse the repository at this point in the history
* fix: remove extra curly brace

* chore: proper indent
  • Loading branch information
mdelapenya committed Oct 22, 2020
1 parent 95c03bc commit e48a728
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ def tagAndPush(name){
docker push ${newName}
docker tag ${oldName} ${commitName}
docker push ${commitName}
""", returnStatus: true)
if ( status > 0 && iterations < 3) {
error('tag and push failed, retry')
} else if ( status > 0 ) {
log(level: 'WARN', text: "${name} doesn't have ${variant} docker images. See https://github.com/elastic/beats/pull/21621")
}
""", returnStatus: true)

if ( status > 0 && iterations < 3) {
error('tag and push failed, retry')
} else if ( status > 0 ) {
log(level: 'WARN', text: "${name} doesn't have ${variant} docker images. See https://github.com/elastic/beats/pull/21621")
}
}
}
Expand Down

0 comments on commit e48a728

Please sign in to comment.