Fixed downstream_ext comparison conditions

For equal criteria use EXACT instead of EQUAL

Change-Id: I0bd43cadad4cd9ef46b31de56eedf4704fd9ff84
Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
This commit is contained in:
Simone Agresta 2016-01-29 15:55:45 +01:00
parent e83daf0cfe
commit 01c9f743d5
2 changed files with 2 additions and 2 deletions

View File

@ -4509,7 +4509,7 @@ def downstream_ext(parser, xml_parent, data):
conditions = {
"equal-or-over": "AND_HIGHER",
"equal-or-under": "AND_LOWER",
"equal": "EQUAL"
"equal": "EXACT"
}
p = XML.SubElement(xml_parent,

View File

@ -9,7 +9,7 @@
<color>YELLOW</color>
<completeBuild>true</completeBuild>
</threshold>
<thresholdStrategy>EQUAL</thresholdStrategy>
<thresholdStrategy>EXACT</thresholdStrategy>
<onlyIfSCMChanges>true</onlyIfSCMChanges>
<onlyIfLocalSCMChanges>false</onlyIfLocalSCMChanges>
</hudson.plugins.downstream__ext.DownstreamTrigger>