jenkins-job-builder/tests/triggers/fixtures/jira-changelog-full.xml
Yolande Amate e55b3d408c
Add support for jira-changelog trigger
Change-Id: Ib66ed6ed2cc0ae909baf8657e122c8c4d3e42331
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-04-12 18:42:20 -04:00

33 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<triggers class="vector">
<com.ceilfors.jenkins.plugins.jiratrigger.JiraChangelogTrigger plugin="jira-trigger">
<jqlFilter>filter</jqlFilter>
<changelogMatchers>
<com.ceilfors.jenkins.plugins.jiratrigger.changelog.CustomFieldChangelogMatcher>
<fieldType>CUSTOM</fieldType>
<field>name</field>
<newValue>val1</newValue>
<oldValue>val2</oldValue>
<comparingNewValue>true</comparingNewValue>
<comparingOldValue>true</comparingOldValue>
</com.ceilfors.jenkins.plugins.jiratrigger.changelog.CustomFieldChangelogMatcher>
<com.ceilfors.jenkins.plugins.jiratrigger.changelog.JiraFieldChangelogMatcher>
<fieldType>JIRA</fieldType>
<field>versions</field>
<newValue>val3</newValue>
<oldValue>val4</oldValue>
<comparingNewValue>true</comparingNewValue>
<comparingOldValue>true</comparingOldValue>
</com.ceilfors.jenkins.plugins.jiratrigger.changelog.JiraFieldChangelogMatcher>
</changelogMatchers>
<parameterMappings>
<com.ceilfors.jenkins.plugins.jiratrigger.parameter.IssueAttributePathParameterMapping>
<jenkinsParameter>param</jenkinsParameter>
<issueAttributePath>path</issueAttributePath>
</com.ceilfors.jenkins.plugins.jiratrigger.parameter.IssueAttributePathParameterMapping>
</parameterMappings>
</com.ceilfors.jenkins.plugins.jiratrigger.JiraChangelogTrigger>
</triggers>
</project>