Skip to content

Commit

Permalink
Address Ivy-plugin issue jenkinsci#4 - don't ignore explicit revision…
Browse files Browse the repository at this point in the history
…s for matching
  • Loading branch information
“b.” committed May 1, 2012
1 parent 781670a commit d6177ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README-fork.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This fork is for the sole purpose of overriding the behavior in IvyBuildTrigger.java that ignores dependencies w/fixed (i.e. non-dynamic) revisions.

See: https://github.com/jenkinsci/ivy-plugin/issues/4

2 changes: 1 addition & 1 deletion src/main/java/hudson/ivy/IvyBuildTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ private boolean captures(ModuleRevisionId depRevId, Project candidate) {
VersionMatcher matcher = versionMatcher;

// A null VersionMatcher means something is really wrong and we should not proceed to add the dependency
captures = (matcher != null && matcher.isDynamic(depRevId));
captures = matcher != null;
if (captures) {
String dbranch = depRevId.getBranch();
String cbranch = cmrid.getBranch();
Expand Down

0 comments on commit d6177ae

Please sign in to comment.