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

ProtoLint Parser Enhancements

XMLWordPrintable

      The protoLint parser currently lacks the following features

      • The broken rule is missing. You cannot group, sort or filter by rule.
      • Severity is hard coded to Severity.WARNING_NORMAL. ProtoLint now supports different severities which should also be displayed in jenkins.
      • In the report the filename of every failure is relative to the working dir of protolint executable. In case you call protolint multiple times in your build process (e.g. in different maven modules with the maven module as working dir) you will have multiple reports with filenames relatives to different directories. It is difficult to get this properly integrated and displayed in jenkins via warnings-ng-plugin. You could infer the basedir from the report file path but this is a bit itschy. I think adding a base dir property to the report or putting absolute filename in the report is a better idea.

      I created an protolint issue (https://github.com/yoheimuta/protolint/issues/414) and created a pull request (https://github.com/yoheimuta/protolint/pull/415).

      I will also create a corresponding pull request for the required adaptions to the protoLint parser here as well.

            drulli Ulli Hafner
            profhenry Jan Henrik Wiesner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: