Skip to content
Permalink
Browse files

[JENKINS-43507] Fix tests

  • Loading branch information...
stephenc committed Jul 5, 2017
1 parent d7c3ece commit af3d6fd54d85497709a5f6d98d7b94c7d73d3110
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/jenkins/plugins/git/GitSCMSource.java
@@ -174,7 +174,7 @@ public GitSCMSource(String id, String remote, String credentialsId, String remot
this.remote = remote;
this.credentialsId = credentialsId;
List<SCMSourceTrait> traits = new ArrayList<>();
this.traits.add(new BranchDiscoveryTrait());
traits.add(new BranchDiscoveryTrait());
if (!DEFAULT_INCLUDES.equals(includes) || !DEFAULT_EXCLUDES.equals(excludes)) {
traits.add(new WildcardSCMHeadFilterTrait(includes, excludes));
}

0 comments on commit af3d6fd

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