-
Bug
-
Resolution: Fixed
-
Blocker
-
None
Maven builds fail because of Violation plugin if there is submodules
There is a missing slash in the submodule path when fetching Violations files
For example, with a Maven project:
- parent
- service
- presentation
- webapp
- dao
Violation path is presentationwebapp instead of presentation/webapp
FATAL: /home/workspace/hudson/jobs/esp/workspace/presentationwebapp does not exist.
/home/workspace/hudson/jobs/esp/workspace/presentationwebapp does not exist.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:474)
at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215)
at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110)
at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27)
at hudson.FilePath.act(FilePath.java:756)
at hudson.FilePath.act(FilePath.java:738)
at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:96)
at hudson.maven.Maven3Builder.end(Maven3Builder.java:207)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:626)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
- duplicates
-
JENKINS-8418 Violations plugin tries to access nonexistant directory
- Closed