Manage when the filter is empty.
This commit is contained in:
parent
28b3da1a96
commit
685bee0b2f
|
@ -180,7 +180,7 @@ def exec(repo_url, repo_name) {
|
||||||
output = sh(script: bashWrapper, returnStdout: true)?.trim()
|
output = sh(script: bashWrapper, returnStdout: true)?.trim()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (filter_with && output.contains(filter_with)) {
|
if ((!filter) || (filter_with && output.contains(filter_with))) {
|
||||||
def xml_action = """
|
def xml_action = """
|
||||||
<action repo="${repo_url}">
|
<action repo="${repo_url}">
|
||||||
<stdout>
|
<stdout>
|
||||||
|
|
Loading…
Reference in New Issue