summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-09-13 14:33:30 +0000
committerGerrit Code Review <review@openstack.org>2018-09-13 14:33:30 +0000
commit1a5a4360117d21c29730d0204f260862e552a8a3 (patch)
treec8c9e0670240618025bf55ac0813d46455499e95
parent405df97718dda6710a9199d7fdb7d649efc9862d (diff)
parent812c70b50610f8297b29e5e87277e9b9181d6735 (diff)
Merge "reporters: Import entire helpers library for usage"
-rw-r--r--jenkins_jobs/modules/reporters.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/jenkins_jobs/modules/reporters.py b/jenkins_jobs/modules/reporters.py
index eb53d80..2beeb1b 100644
--- a/jenkins_jobs/modules/reporters.py
+++ b/jenkins_jobs/modules/reporters.py
@@ -35,8 +35,7 @@ import xml.etree.ElementTree as XML
35 35
36from jenkins_jobs.errors import JenkinsJobsException 36from jenkins_jobs.errors import JenkinsJobsException
37import jenkins_jobs.modules.base 37import jenkins_jobs.modules.base
38from jenkins_jobs.modules.helpers import build_trends_publisher 38import jenkins_jobs.modules.helpers as helpers
39from jenkins_jobs.modules.helpers import findbugs_settings
40 39
41 40
42def email(registry, xml_parent, data): 41def email(registry, xml_parent, data):
@@ -134,8 +133,8 @@ def findbugs(registry, xml_parent, data):
134 'hudson.plugins.findbugs.FindBugsReporter') 133 'hudson.plugins.findbugs.FindBugsReporter')
135 findbugs.set('plugin', 'findbugs') 134 findbugs.set('plugin', 'findbugs')
136 135
137 findbugs_settings(findbugs, data) 136 helpers.findbugs_settings(findbugs, data)
138 build_trends_publisher('[FINDBUGS] ', findbugs, data) 137 helpers.build_trends_publisher('[FINDBUGS] ', findbugs, data)
139 138
140 139
141class Reporters(jenkins_jobs.modules.base.Base): 140class Reporters(jenkins_jobs.modules.base.Base):