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

Viewing source of some relative paths does not work

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • Hudson 1.395.1 (I haven't made the switch yet, but am already using the jenkins update site)
      RHEL 5.5
      Warnings Plugin 3.15
      Analysis Core 1.18

      Viewing the source of files specified as a relative path doesn't always work. For
      instance, a path like:

      ../../../../some/path/somefile.hpp

      won't work for me. It looks like the problem is that it searches the workspace for the whole path rather than just using the file base name. I would suggest just searching for the file base name. If there is more than one result, I'd throw a warning and maybe even include links to each of them. Ideally, the warning should say what went wrong rather than giving all the possible things that might have went wrong. Right now the warnings when viewing source files that aren't found, makes it sound like there are 4 or 5 problems, when normally only one of the problems apply.

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

              Created:
              Updated:
              Resolved: