jenkins-job-builder/jenkins_jobs
Bill Maxwell eebb71cbb3 Implements: Archive publisher allow-empty setting.
The archive publisher did not allow setting the allowEmptyArchive setting in the YAML.
This change adds configuring the setting if it is defined in the YAML file. If the value
is 'true' then it is set, else it is 'false'. The default Jenkins behavior is 'false' disallowing
builds to pass without storing the archived data.

Updated the doc string to add that there is a default value (false) which is also the default Jenkins behavior.
Cleand up the value assignment, and typed it to a str().

fixed pep8 violation

Addresses patchset 3 request to update the doc string to use the test directly.
Would like to have more discussion around the second point in patchset 3 around having
the new code add a line of XML.

Change-Id: I5e0c9ed7e8ea669a8d0e8f267ebb02d5f0b6ae73
2013-12-21 21:44:33 -07:00
..
modules Implements: Archive publisher allow-empty setting. 2013-12-21 21:44:33 -07:00
openstack setup.py: Basic support for windows. 2013-06-20 17:12:23 +00: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 ModuleRegistry now caches entry points lookup 2013-11-27 15:59:57 +01:00
cmd.py Enable ignore_cache flag on jenkins_jobs.ini 2013-12-10 12:59:13 +01:00
errors.py Adding some exception classes 2012-10-01 17:03:03 +00:00
version.py Add openstack-common support for setup and version 2012-11-10 23:36:16 +00:00