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

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

XMLWordPrintable

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

      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.

            v2v Victor Martinez
            martinjost Martin Jost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: