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

"Hardcoded Script Checker - Threshold": Don't count comment lines

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • jenkinslint-plugin
    • Jenkins 2.71 running using JDK1.8_141 on RH6 Linux, no container
      jenkinslint 0.10.1

    Description

      It seems the

        Hardcoded Script Checker - Threshold

      counts at least comment lines (and probably also empty lines or lines just containing whitespace)

      It would be nice, to not count these. We sometimes have comment blocks before one or two lines of script calling. This now forces us, to set a rather big threshold.

      And as an extra a help entry on the configuration page would be nice for this entry.

      Attachments

        Activity

          People

            v2v Victor Martinez
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: