b04ca3a82c
The changes include: - deprecated the following options and made support for them dependent on the Gerrit Trigger plugin version: - 'no-name-and-email' - 'readable-message' - 'trigger-for-unreviewed-patches' - added a set of new options: - 'name-and-email-parameter-mode' (replaced 'no-name-and-email') - 'commit-message-parameter-mode' (replaced 'readable-message') - 'change-subject-parameter-mode' - 'comment-text-parameter-mode' all these options can have one of the following values: - NONE - PLAIN - BASE64 the default value for the first two options is taken from the respective options they replaced, if they exist in the input YAML file, so the overall change should be backward compatible - fixed the value generated for <dynamicTriggerConfiguration> element it should be "true"/"false" instead of "True"/"False" - added an empty <dynamicGerritProjects> element when dynamic trigger functionality is disabled to match what the plugin does With the above changes the markup generated by JJB is fully aligned with Gerrit Trigger plugin v2.30.x. Tested on Gerrit Trigger plugin v2.30.0. Task: 39871 Story: 2007722 Change-Id: I25800874f51a93a351926a9a1be255cce80b88bd
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<triggers class="vector">
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
|
|
<spec/>
|
|
<gerritProjects/>
|
|
<skipVote>
|
|
<onSuccessful>false</onSuccessful>
|
|
<onFailed>false</onFailed>
|
|
<onUnstable>false</onUnstable>
|
|
<onNotBuilt>false</onNotBuilt>
|
|
</skipVote>
|
|
<silentMode>false</silentMode>
|
|
<silentStartMode>false</silentStartMode>
|
|
<escapeQuotes>true</escapeQuotes>
|
|
<dependencyJobsNames/>
|
|
<commitMessageParameterMode>PLAIN</commitMessageParameterMode>
|
|
<nameAndEmailParameterMode>PLAIN</nameAndEmailParameterMode>
|
|
<changeSubjectParameterMode>PLAIN</changeSubjectParameterMode>
|
|
<commentTextParameterMode>BASE64</commentTextParameterMode>
|
|
<notificationLevel/>
|
|
<dynamicTriggerConfiguration>false</dynamicTriggerConfiguration>
|
|
<triggerConfigURL/>
|
|
<dynamicGerritProjects class="empty-list"/>
|
|
<triggerInformationAction/>
|
|
<triggerOnEvents/>
|
|
<buildStartMessage/>
|
|
<buildFailureMessage/>
|
|
<buildSuccessfulMessage/>
|
|
<buildUnstableMessage/>
|
|
<buildNotBuiltMessage/>
|
|
<buildUnsuccessfulFilepath/>
|
|
<customUrl/>
|
|
<serverName>__ANY__</serverName>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
|
|
</triggers>
|
|
</project>
|