openshift/origin-server — pull request #2141 by BanzaiMan (2013-04-18 16:15:06+00:00)
Title: Bug 952161

Encode XML entities in jenkins_shell_command.rb template after processing ERB directives.

This supersedes #2092.

Here, we will assume that things the ERB directives will emit will not interfere XML processing.

As `String#encode(:xml => :attr)` puts the result in double quotes, we strip the double quotes.