jenkins-job-builder/jenkins_jobs
Ari LiVigni 101f74645d Made a common helper function - convert_mapping_to_xml
This will allow other modules to convert a mapping set to xml easily
with defaults so other methods don't have to create their own.

Includes behaviour to selectively omit or include empty tags.

Behaviour for default value:
  None - omit this tag if users didn't put anything
  "" - create an empty element if users didn't put anything

This is applied to the existing openshift plugin functions in
refactoring as Jenkins actually retains an empty XML tag when the
optional 'auth-token' setting is missing from the input job definition.
Which results in modifying the default test's output for the openshift
plugin.

Change-Id: I935a70ad191bc0f3f3dbd571b2b1cf7468106697
2015-10-09 17:47:01 +01:00
..
modules Made a common helper function - convert_mapping_to_xml 2015-10-09 17:47:01 +01:00
sphinx Add openstack-common support for setup and version 2012-11-10 23:36:16 +00:00
__init__.py Refactor modules and templating. 2012-08-10 16:00:42 +00:00
builder.py Allow JJB to set connection timeout to jenkins server 2015-09-21 09:36:55 -07:00
cmd.py Allow JJB to set connection timeout to jenkins server 2015-09-21 09:36:55 -07:00
constants.py Remove YamlParser from jenkins_jobs.builder 2015-04-22 11:59:07 -07:00
errors.py Find module for exceptions raised from gen_xml 2015-07-14 15:42:42 +01:00
formatter.py Remove YamlParser from jenkins_jobs.builder 2015-04-22 11:59:07 -07:00
local_yaml.py Separate out custom yaml tags into separate classes 2015-09-18 00:37:00 +01:00
parser.py Replace open() with io.open() and force 'utf-8' 2015-07-25 14:16:12 -07:00
registry.py Remove YamlParser from jenkins_jobs.builder 2015-04-22 11:59:07 -07:00
version.py Get verison info for jenkins-job-builder 2014-10-22 09:46:10 -07:00
xml_config.py Allow whitespace to be significant 2015-08-11 18:31:48 +01:00