summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Cazenave <ecazenave@entrouvert.com>2018-04-26 10:00:08 (GMT)
committerEmmanuel Cazenave <ecazenave@entrouvert.com>2018-04-26 10:00:08 (GMT)
commit807c2b799bc6d8d7185a25ff076f174e7998ec64 (patch)
tree824aa5d0e97835d44030dd1f1e5473b01826f087
parentba5b3fb2c2124080a7cfa0e8af24ee0f7041cbfe (diff)
downloadjenkins-lib-807c2b799bc6d8d7185a25ff076f174e7998ec64.zip
jenkins-lib-807c2b799bc6d8d7185a25ff076f174e7998ec64.tar.gz
jenkins-lib-807c2b799bc6d8d7185a25ff076f174e7998ec64.tar.bz2
coding style
-rw-r--r--src/eo/Utils.groovy24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/eo/Utils.groovy b/src/eo/Utils.groovy
index 35884eb..bbd0059 100644
--- a/src/eo/Utils.groovy
+++ b/src/eo/Utils.groovy
@@ -10,24 +10,28 @@ def mail_notify(currentBuild, env, email) {
currentBuild.result = 'SUCCESS'
}
if (env.BRANCH_NAME == 'master') {
- step(
- [$class: 'Mailer', notifyEveryUnstableBuild: true,
- recipients: email, sendToIndividuals: true]
- )
+ step([
+ $class: 'Mailer', notifyEveryUnstableBuild: true,
+ recipients: email, sendToIndividuals: true
+ ])
} else {
step([
$class: 'Mailer', notifyEveryUnstableBuild: true,
- recipients: emailextrecipients([
- [$class: 'CulpritsRecipientProvider'],
- [$class: 'RequesterRecipientProvider']])])
+ recipients: emailextrecipients([
+ [$class: 'CulpritsRecipientProvider'],
+ [$class: 'RequesterRecipientProvider']
+ ])
+ ])
}
}
def publish_coverage(report_pattern) {
- CoberturaPublisher autoUpdateHealth: false, autoUpdateStability: false,
- coberturaReportFile: report_pattern, failUnhealthy: false, failUnstable: false,
- maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false
+ step([
+ $class: 'CoberturaPublisher', autoUpdateHealth: false, autoUpdateStability: false,
+ coberturaReportFile: report_pattern, failUnhealthy: false, failUnstable: false,
+ maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false
+ ])
}