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:
committed by
Khai Do
parent
cac1a67401
commit
cb876b481e
14
tests/publishers/fixtures/raw001.yaml
Normal file
14
tests/publishers/fixtures/raw001.yaml
Normal 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>
|
||||
Reference in New Issue
Block a user