summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-25 02:51:51 +0000
committerGerrit Code Review <review@openstack.org>2018-07-25 02:51:52 +0000
commita861cf0f8b7f40b401a5c491aa456327773fc27f (patch)
tree90132f8d850168deab629c07cca5cc61746da9fb
parentebf7670df10c8a0a0506c7e0e3ab6e51c12a99e2 (diff)
parent97d2e1f7b6b0b325d7ae4fe195937ff86d40ee7a (diff)
Merge "[Maven] Update helpers import to common style"
-rwxr-xr-xjenkins_jobs/modules/project_maven.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins_jobs/modules/project_maven.py b/jenkins_jobs/modules/project_maven.py
index 403a103..3e73568 100755
--- a/jenkins_jobs/modules/project_maven.py
+++ b/jenkins_jobs/modules/project_maven.py
@@ -87,7 +87,7 @@ import xml.etree.ElementTree as XML
87 87
88from jenkins_jobs.errors import InvalidAttributeError 88from jenkins_jobs.errors import InvalidAttributeError
89import jenkins_jobs.modules.base 89import jenkins_jobs.modules.base
90from jenkins_jobs.modules.helpers import config_file_provider_settings 90import jenkins_jobs.modules.helpers as helpers
91from jenkins_jobs.modules import hudson_model 91from jenkins_jobs.modules import hudson_model
92 92
93 93
@@ -171,7 +171,7 @@ class Maven(jenkins_jobs.modules.base.Base):
171 if 'custom-workspace' in data['maven']: 171 if 'custom-workspace' in data['maven']:
172 XML.SubElement(xml_parent, 'customWorkspace').text = str( 172 XML.SubElement(xml_parent, 'customWorkspace').text = str(
173 data['maven'].get('custom-workspace')) 173 data['maven'].get('custom-workspace'))
174 config_file_provider_settings(xml_parent, data['maven']) 174 helpers.config_file_provider_settings(xml_parent, data['maven'])
175 175
176 run_post_steps = XML.SubElement(xml_parent, 'runPostStepsIfResult') 176 run_post_steps = XML.SubElement(xml_parent, 'runPostStepsIfResult')
177 run_conditions = ['SUCCESS', 'UNSTABLE', 'FAILURE'] 177 run_conditions = ['SUCCESS', 'UNSTABLE', 'FAILURE']