Add support for 'raw' to inject direct xml to job configs.

'raw' allow users to have a fallback in case
a plugin is not yet supported or the plugin is not generating the
expected result.

Only intended as a last fallback, but useful when waiting for
review to complete.

Change-Id: If0d22d7d43d35649e78aa7481e1c0f1ed21a6025
This commit is contained in:
Max Rydahl Andersen
2015-03-01 09:43:02 +01:00
committed by Khai Do
parent cac1a67401
commit cb876b481e
13 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
publishers:
- raw:
xml: |
<hudson.plugins.build__publisher.BuildPublisher>
<serverName>servername</serverName>
<publishUnstableBuilds>true</publishUnstableBuilds>
<publishFailedBuilds>false</publishFailedBuilds>
<logRotator>
<daysToKeep>-1</daysToKeep>
<numToKeep>100</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>100</artifactNumToKeep>
</logRotator>
</hudson.plugins.build__publisher.BuildPublisher>