[Maven] Update helpers import to common style

Change-Id: Iccf83252663426fc0859025928d4ff9e6acfff3c
Signed-off-by: Thanh Ha <zxiiro@linux.com>
This commit is contained in:
Thanh Ha 2018-07-23 23:17:15 -04:00
parent 3b777009f3
commit 97d2e1f7b6
No known key found for this signature in database
GPG Key ID: B0CB27E00DA095AA
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ import xml.etree.ElementTree as XML
from jenkins_jobs.errors import InvalidAttributeError
import jenkins_jobs.modules.base
from jenkins_jobs.modules.helpers import config_file_provider_settings
import jenkins_jobs.modules.helpers as helpers
from jenkins_jobs.modules import hudson_model
@ -171,7 +171,7 @@ class Maven(jenkins_jobs.modules.base.Base):
if 'custom-workspace' in data['maven']:
XML.SubElement(xml_parent, 'customWorkspace').text = str(
data['maven'].get('custom-workspace'))
config_file_provider_settings(xml_parent, data['maven'])
helpers.config_file_provider_settings(xml_parent, data['maven'])
run_post_steps = XML.SubElement(xml_parent, 'runPostStepsIfResult')
run_conditions = ['SUCCESS', 'UNSTABLE', 'FAILURE']