jenkins-job-builder/tests/triggers/fixtures/jms-messaging001.xml
Ari LiVigni 16c41b6a82 Add support for jms_messaging plugin as a trigger
- Added all the fields for JMS Messaging plugins
- Added a minimal example
- Added a full example

Change-Id: I62906133019253a0cf391eda76b3515ecf328b9f
2017-03-31 11:55:06 -04:00

20 lines
846 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<triggers class="vector">
<com.redhat.jenkins.plugins.ci.CIBuildTrigger>
<spec/>
<selector>topic = &quot;org.fedoraproject.prod.fedimg.image.upload&quot;</selector>
<providerName>fedmsg</providerName>
<checks>
<com.redhat.jenkins.plugins.ci.messaging.checks.MsgCheck>
<field>compose</field>
<expectedValue>.+compose_id.+Fedora-Atomic.+</expectedValue>
</com.redhat.jenkins.plugins.ci.messaging.checks.MsgCheck>
<com.redhat.jenkins.plugins.ci.messaging.checks.MsgCheck>
<field>image_name</field>
<expectedValue>.+Fedora-Atomic.+</expectedValue>
</com.redhat.jenkins.plugins.ci.messaging.checks.MsgCheck>
</checks>
</com.redhat.jenkins.plugins.ci.CIBuildTrigger>
</triggers>
</project>