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

Module and src prefix is missing in path to source code file

    XMLWordPrintable

    Details

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

      Description

      When using findbugs in a single module m2 job then the links to the files are
      incorrect:

      Can't read file:
      D:\Build\Workspace\jobs\60-ICE-Scripts\workspace\com\avaloq\ice\console\download\ConnectionManager.java
      (The system cannot find the path specified)

      Repository link: svn://[...]/scripts/com.avaloq.ice.download.
      The module name com.avaloq.ice.download is missing in the file path.

      The actual path is
      D:\Build\Workspace\jobs\60-ICE-Scripts\workspace\com.avaloq.ice.download\src\main\java\com\avaloq\ice\console\download

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            We should also evaluate the property pom.getCompileSourceRoot() to compute the
            path to the sources.

            Show
            drulli Ulli Hafner added a comment - We should also evaluate the property pom.getCompileSourceRoot() to compute the path to the sources.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : drulli
            Path:
            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/NativeFindBugsParser.java
            trunk/hudson/plugins/findbugs/src/test/java/hudson/plugins/findbugs/parser/NativeFindBugsParserTest.java
            http://fisheye4.cenqua.com/changelog/hudson/?cs=11870
            Log:
            [FIXED JENKINS-2052] Use maven properties to initialize the source folders of the findbugs-plugin source finder.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: 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/NativeFindBugsParser.java trunk/hudson/plugins/findbugs/src/test/java/hudson/plugins/findbugs/parser/NativeFindBugsParserTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=11870 Log: [FIXED JENKINS-2052] Use maven properties to initialize the source folders of the findbugs-plugin source finder.

              People

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

                Dates

                Created:
                Updated:
                Resolved: