system-config/modules/jenkins_jobs/templates/trigger_gerrit_ref_updated.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.6 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>REG_EXP</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>false</triggerOnCommentAddedEvent>
<triggerOnRefUpdatedEvent>true</triggerOnRefUpdatedEvent>
<commentAddedTriggerApprovalCategory></commentAddedTriggerApprovalCategory>
<commentAddedTriggerApprovalValue></commentAddedTriggerApprovalValue>
<buildStartMessage></buildStartMessage>
<buildFailureMessage></buildFailureMessage>
<buildSuccessfulMessage></buildSuccessfulMessage>
<buildUnstableMessage></buildUnstableMessage>
<customUrl></customUrl>
</com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger>