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:
parent
e83daf0cfe
commit
01c9f743d5
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue