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

Source code is unavailable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • cobertura-plugin
    • None
    • Linux SuSE 10.1
      Hudson 1.323
      Clearcase plugin 0.9
      Cobertura plugin 0.8.10

      In Hudson I click the following links:

      Coverage Report --> <package> --> <class name>

      Then I see the following in the report:

      Source code is unavailable. Some possible reasons are:

      • This is not the most recent build (to save on disk space, this plugin only keeps the most recent builds source code).
      • Cobertura found the source code but did not provide enough information to locate the source code.
      • Cobertura could not find the source code, so this plugin has no hope of finding it.

      When I try to access ( html link )the TypeManager.java file I can see the following link:

      http://myhost:8080/job/myjob/8/cobertura/se_mypackage_is_here/TypeManager_java

      Checking my Hudson install dir ( .hudson) I have the a cobertura folder under.

      /home/mylogin/.hudson/jobs/myjob The folder contains ( source code ):

      se/mypackage_is_here/TypeManager.java

      If I check the report for cobertura without hudson there are html pages of the source files.
      These seems to be missing.

      //mike

            stephenconnolly Stephen Connolly
            eraonel eraonel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: