Skip to content

Commit

Permalink
Skip null matrix values in buildMatrixParamsString (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Dec 11, 2022
1 parent 838c488 commit 9be9055
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public static String buildMatrixParamsString(ArrayListMultimap<String, String> m
if (matrixParams != null && !matrixParams.isEmpty()) {
for (String propertyKey : matrixParams.keySet()) {
for (String multiPropertyValue : matrixParams.get(propertyKey)) {
if (multiPropertyValue == null) {
continue;
}
// Due to known bug in Artifactory, in order to support multi values properties
// we add a statement to each value separately.
for (String propertyValue : multiPropertyValue.split(",")) {
Expand Down

0 comments on commit 9be9055

Please sign in to comment.