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

File not found for pure POM projects

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: Sun, OS: Solaris
    • Similar Issues:

      Description

      I have the pure pom module. The findbugs:findbugs generates nothing for it. But
      findbugs tries to locate the report and brakes the build.

      [INFO] [findbugs:findbugs

      {execution: findbugs}

      ]

      [INFO] Output class directory doesn't exist. Skipping findbugs.

      [HUDSON] Archiving /var/data/maven/hudson/jobs/Jresearch
      Flexess/workspace/umi/1.0.0/pom/pom.xml to /var/data/maven/hudson/jobs/Jresearch
      Flexess/modules/com.jresearchsoft.uam$umi/builds/2008-06-06_07-09-58/archive/com.jresearchsoft.uam/umi/1.0.0/pom.xml

      [INFO] ------------------------------------------------------------------------

      [ERROR] FATAL ERROR

      [INFO] ------------------------------------------------------------------------

      [INFO] /var/data/maven/hudson/jobs/Jresearch
      Flexess/workspace/umi/1.0.0/pom/target not found.

      [INFO] ------------------------------------------------------------------------

      [INFO] Trace

      /var/data/maven/hudson/jobs/Jresearch Flexess/workspace/umi/1.0.0/pom/target not
      found.

      at
      org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)

      at
      hudson.plugins.findbugs.parser.FindBugsCollector.findFindBugsFiles(FindBugsCollector.java:183)

      at
      hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:67)

      at
      hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:28)

      at hudson.FilePath.act(FilePath.java:317)

        Attachments

          Activity

          foal foal created issue -
          Hide
          drulli Ulli Hafner added a comment -

          Are you using the m2 or freestyle option in Hudson?

          Show
          drulli Ulli Hafner added a comment - Are you using the m2 or freestyle option in Hudson?
          Hide
          foal foal added a comment -

          I have m2

          Show
          foal foal added a comment - I have m2
          Hide
          drulli Ulli Hafner added a comment -

          Added link to thread in users mailing list.

          Show
          drulli Ulli Hafner added a comment - Added link to thread in users mailing list.
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/parser/CheckStyleParser.java
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/AnnotationParser.java
          trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/FilesParser.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsPublisher.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/FindBugsParser.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/PlainFindBugsParser.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/maven/MavenFindBugsParser.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/AnnotationParser.java
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/FilesParser.java
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/parser/PmdParser.java
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/AnnotationParser.java
          trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/FilesParser.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/AnnotationParser.java
          trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/FilesParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/AnnotationParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/FilesParser.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=10972
          Log:
          [FIXED JENKINS-1813] Catch exceptions of ANT files scanner since there might be a build without target folder.
          (Refactored FindBugs to use the FilesParser API)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/parser/CheckStyleParser.java trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/AnnotationParser.java trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/FilesParser.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsPublisher.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/FindBugsParser.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/PlainFindBugsParser.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/maven/MavenFindBugsParser.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/AnnotationParser.java trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/FilesParser.java trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/parser/PmdParser.java trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/AnnotationParser.java trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/FilesParser.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/AnnotationParser.java trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/FilesParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/AnnotationParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/FilesParser.java http://fisheye4.cenqua.com/changelog/hudson/?cs=10972 Log: [FIXED JENKINS-1813] Catch exceptions of ANT files scanner since there might be a build without target folder. (Refactored FindBugs to use the FilesParser API)
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 131886 ] JNJira + In-Review [ 201005 ]

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              foal foal
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: