system-config/modules/jenkins_jobs/templates/trigger_gerrit_comment.xml.erb
Andrew Hutchings 04bf54ac40 Make Jenkins Jobs more modular
Each job has a manifest in the jenkins_jobs/manifests/jobs directory
Jobs are grouped in python_jobs and generic_jobs
The job groups or individual jobs can be added to a site manifest

Also fixes bad XML output, python27 job and bug 987428

Change-Id: I1ebc889cee08b080deb6ba46aee69ab2ae0bb6b6
2012-04-24 15:19:59 +01:00

31 lines
1.7 KiB
Plaintext

<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>
<spec></spec>
<gerritProjects>
<% trigger_branches.each do |trigger| %>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
<compareType>PLAIN</compareType>
<pattern><%= site %>/<%= trigger[0] %></pattern>
<branches>
<com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
<compareType>ANT</compareType>
<pattern><%= trigger[1] %></pattern>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.Branch>
</branches>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.GerritProject>
<% end %>
</gerritProjects>
<silentMode>false</silentMode>
<escapeQuotes>true</escapeQuotes>
<triggerOnPatchsetUploadedEvent>false</triggerOnPatchsetUploadedEvent>
<triggerOnChangeMergedEvent>false</triggerOnChangeMergedEvent>
<triggerOnCommentAddedEvent>true</triggerOnCommentAddedEvent>
<triggerOnRefUpdatedEvent>false</triggerOnRefUpdatedEvent>
<commentAddedTriggerApprovalCategory>APRV</commentAddedTriggerApprovalCategory>
<commentAddedTriggerApprovalValue>1</commentAddedTriggerApprovalValue>
<buildStartMessage></buildStartMessage>
<buildFailureMessage>This change was unable to be automatically merged with the current state of the repository. Please rebase your change and upload a new patchset.</buildFailureMessage>
<buildSuccessfulMessage></buildSuccessfulMessage>
<buildUnstableMessage></buildUnstableMessage>
<customUrl></customUrl>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>