Skip to content

Commit 7cd7fe8

Browse files
committed
jobs/bodhi-trigger: fix CI retrigger message handling
Missed removing this bit from 4509014 ("jobs/bodhi-trigger: simplify triggering").
1 parent 4509014 commit 7cd7fe8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jobs/bodhi-trigger.Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ properties([
7272
// Is this for an SRPM we care about? The jsonpath expression
7373
// here evaluates to "all builds of type rpm whose nvr matches
7474
// 'n-v-r' where 'n' is one of those in $srpms".
75-
[field: "\$.update.builds[?(@.type == 'rpm' && @.nvr =~ /^(${srpms.join("|")})-[^-]+-[^-]+\$/)]", expectedValue: '^\\[.+\\]$'],
76-
// We handle the retrigger case separately below.
77-
[field: '$.re-trigger', expectedValue: '^false$']
75+
[field: "\$.update.builds[?(@.type == 'rpm' && @.nvr =~ /^(${srpms.join("|")})-[^-]+-[^-]+\$/)]", expectedValue: '^\\[.+\\]$']
7876
]
7977
)
8078
]

0 commit comments

Comments
 (0)