74 lines
3.6 KiB
XML
74 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<triggers class="vector">
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
|
|
<spec/>
|
|
<gerritProjects>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
|
|
<compareType>PLAIN</compareType>
|
|
<pattern>test-project</pattern>
|
|
<branches>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
|
|
<compareType>PLAIN</compareType>
|
|
<pattern>master</pattern>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
|
|
<compareType>PLAIN</compareType>
|
|
<pattern>stable</pattern>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
|
|
</branches>
|
|
<filePaths>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
|
|
<compareType>ANT</compareType>
|
|
<pattern>subdirectory/**</pattern>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.FilePath>
|
|
</filePaths>
|
|
<topics>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Topic>
|
|
<compareType>ANT</compareType>
|
|
<pattern>refactor-xy**</pattern>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Topic>
|
|
</topics>
|
|
<disableStrictForbiddenFileVerification>false</disableStrictForbiddenFileVerification>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
|
|
</gerritProjects>
|
|
<skipVote>
|
|
<onSuccessful>true</onSuccessful>
|
|
<onFailed>true</onFailed>
|
|
<onUnstable>true</onUnstable>
|
|
<onNotBuilt>true</onNotBuilt>
|
|
</skipVote>
|
|
<silentMode>false</silentMode>
|
|
<silentStartMode>true</silentStartMode>
|
|
<escapeQuotes>false</escapeQuotes>
|
|
<noNameAndEmailParameters>false</noNameAndEmailParameters>
|
|
<readableMessage>false</readableMessage>
|
|
<dependencyJobsNames>job1, job2</dependencyJobsNames>
|
|
<notificationLevel>ALL</notificationLevel>
|
|
<dynamicTriggerConfiguration>True</dynamicTriggerConfiguration>
|
|
<triggerConfigURL>http://myhost/mytrigger</triggerConfigURL>
|
|
<triggerInformationAction/>
|
|
<allowTriggeringUnreviewedPatches>true</allowTriggeringUnreviewedPatches>
|
|
<triggerOnEvents>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
|
|
<excludeDrafts>true</excludeDrafts>
|
|
<excludeTrivialRebase>true</excludeTrivialRebase>
|
|
<excludeNoCodeChange>true</excludeNoCodeChange>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginPatchsetCreatedEvent>
|
|
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedEvent>
|
|
<verdictCategory>APRV</verdictCategory>
|
|
<commentAddedTriggerApprovalValue>1</commentAddedTriggerApprovalValue>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.events.PluginCommentAddedEvent>
|
|
</triggerOnEvents>
|
|
<buildStartMessage/>
|
|
<buildFailureMessage/>
|
|
<buildSuccessfulMessage/>
|
|
<buildUnstableMessage/>
|
|
<buildNotBuiltMessage/>
|
|
<buildUnsuccessfulFilepath>path/to/filename</buildUnsuccessfulFilepath>
|
|
<customUrl/>
|
|
<serverName>my-server</serverName>
|
|
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
|
|
</triggers>
|
|
</project>
|