Browse Source

Merge "reporters: Import entire helpers library for usage"

tags/2.5.0
Zuul 10 months ago
parent
commit
1a5a436011
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      jenkins_jobs/modules/reporters.py

+ 3
- 4
jenkins_jobs/modules/reporters.py View File

@@ -35,8 +35,7 @@ import xml.etree.ElementTree as XML
35 35
 
36 36
 from jenkins_jobs.errors import JenkinsJobsException
37 37
 import jenkins_jobs.modules.base
38
-from jenkins_jobs.modules.helpers import build_trends_publisher
39
-from jenkins_jobs.modules.helpers import findbugs_settings
38
+import jenkins_jobs.modules.helpers as helpers
40 39
 
41 40
 
42 41
 def email(registry, xml_parent, data):
@@ -134,8 +133,8 @@ def findbugs(registry, xml_parent, data):
134 133
                               'hudson.plugins.findbugs.FindBugsReporter')
135 134
     findbugs.set('plugin', 'findbugs')
136 135
 
137
-    findbugs_settings(findbugs, data)
138
-    build_trends_publisher('[FINDBUGS] ', findbugs, data)
136
+    helpers.findbugs_settings(findbugs, data)
137
+    helpers.build_trends_publisher('[FINDBUGS] ', findbugs, data)
139 138
 
140 139
 
141 140
 class Reporters(jenkins_jobs.modules.base.Base):

Loading…
Cancel
Save