Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25246

IvyPlugin incorrectly calculates triggers builds for nested modules

XMLWordPrintable

      A project containing modules e.g.
      ModuleA/ModuleA.Child1

      Looks like isDescendantOf is returning the first match instead of checking for paths that should be excluded.

      private boolean isDescendantOf(ChangeLogSet.Entry e, IvyModule mod) {
      for (String path : e.getAffectedPaths())
      if (path != null && path.startsWith(mod.getRelativePathToModuleRoot()))
      return true;
      return false;
      }

            tbingaman Timothy Bingaman
            rym0021 Ray Munian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: