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

Coverage recorder inverts logic for symbolic link following

XMLWordPrintable

      CoverageRecorder instantiates the CoverageReportScanner in the following way:

      new CoverageReportScanner(parser, expandedPattern, "UTF-8", isSkipSymbolicLinks(), ignoreErrors()));

       

      while CoverageReportScanner has the following constructor signature:

           * @param followSymbolicLinks
           *         if the scanner should traverse symbolic links
           * @param processingMode
           *         determines whether to ignore errors
           */
          public CoverageReportScanner(final Parser parser, final String filePattern, final String encoding, final boolean followSymbolicLinks, final ProcessingMode processingMode)

      As you can see followSymbolicLinks is set to isSkipSymbolicLinks which is the opposite of what it should be and what is documented.

            dko Daniel
            dko Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: