Skip to content
Permalink
Browse files

Merge pull request #22 from jenkinsci/bugfix/JENKINS-34544

NPE After update to 0.5.0
  • Loading branch information...
klimas7 committed May 2, 2016
2 parents 11074b5 + 0e83d1b commit b1cdf2653e4010603ff90cf02cd5f6fb54245b40
@@ -310,7 +310,7 @@ public int compareTo(GitParameterDefinition pd) {
Pattern branchFilterPattern;
try {
branchFilterPattern = Pattern.compile(branchFilter);
} catch (PatternSyntaxException e) {
} catch (Exception e) {
LOGGER.log(Level.INFO, "Specified branchFilter is not a valid regex. Setting to '.*'", e.getMessage());
errorMessage = "Specified branchFilter is not a valid regex. Setting to '.*'";
branchFilterPattern = Pattern.compile(".*");

0 comments on commit b1cdf26

Please sign in to comment.
You can’t perform that action at this time.