Skip to content

Commit 6405615

Browse files
committed
jobs/bodhi-trigger: respect test-patterns: skip
If a test pattern is marked as `skip`, then respect that. Don't force `basic` to run in that case. The logic there was meant as a way to force `basic` to always run *if* some other tests were also selected, not to counteract `skip`. Fixes 6c1f869 ("bodhi-testing.yaml: support specifying tests to run").
1 parent d08ce14 commit 6405615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/bodhi-trigger.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ cosaPod(cpu: "0.1", kvm: false) {
153153
// always force at least `basic` to run; that way even if all of the
154154
// specified tests are denylisted because they're temporarily broken, we
155155
// still get a sanity-check that it doesn't break boot
156-
if (test_patterns != "") {
156+
if (test_patterns != "" && test_patterns != "skip") {
157157
test_patterns += " basic"
158158
}
159159

0 commit comments

Comments
 (0)