Ensures that there are no quotes passed from Jenkins
This commit is contained in:
@@ -130,6 +130,10 @@ public class SpringReleaser {
|
||||
options.startFrom = "";
|
||||
enforceFullRelease(options);
|
||||
} else if (!options.taskNames.isEmpty()) {
|
||||
options.taskNames = new ArrayList<>(options.taskNames)
|
||||
.stream()
|
||||
.map(this::removeQuotingChars)
|
||||
.collect(Collectors.toList());
|
||||
filteredProjects = filteredProjects.stream()
|
||||
.filter(project -> options.taskNames.contains(project))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user