jenkins-job-builder/jenkins_jobs
Clark Boylan 8b982ed886 Handle utf8 in JJB
JJB didn't actually handle unicode data very well for a couple reasons.
First the local yaml loader was loading files into yaml as strings
instead of unicode which we should just go ahead and do because yaml's
built int loader loads utf-8 by default (and we don't override the
default). Second we need to do parameter substitution on unicode and
regular strings so change the substitution typecheck to use basestring
instead of str. Finally we need to use UTF-8 as the encoding when
emitting XML so do that.

Add tests to actually test this in the yamlparser tests. The addition of
these new tests comes with a little bit of cleanup in the test classes
to make sure we load unicode files as utf8 more consistently.

Change-Id: I2169e19aae2cdc7ddbd1e7217ef7584c786a039a
Fixes-bug: 1361090
2014-08-29 14:19:21 -07:00
..
modules Merge "Add support for the Jenkins Valgrind publisher plugin." 2014-08-26 17:06:08 +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 Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
cmd.py Allow `test` command to use conf files 2014-07-09 15:57:00 +00:00
errors.py Adding some exception classes 2012-10-01 17:03:03 +00:00
local_yaml.py Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
version.py Doc: Use VersionInfo from pbr and remove openstack common modules 2014-04-30 09:59:39 +09:00