TT#14963 Improve perlcritic output message

Give more information relevant when fixing the reports, state the
perlcritic tag, and the line that triggered the error.

In addition point to the Sipwise overrides that we are applying so
that it is clear when we diverge from the suggested best practices.

Change-Id: I795a29306d0f9923a402170c93cca73bbf730f14
changes/16/18116/1
Guillem Jover 9 years ago committed by Alexander Lutay
parent 24b806ed1f
commit 3a0f235ede

@ -2,8 +2,8 @@
# NOTE: When switching the output format we also need to adjust perlcritic_tap
# accordingly:
# verbose = %f line %l col %c\n [%s] %p (%e) = %m\n %r\n
# The ouput format, another nice one is 8, the [%s] is the severity.
verbose = %l:%c [%s] %p = %m (with Sipwise overrides from <https://gerrit.mgm.sipwise.com/gitweb?p=puppet-sipwise.git;a=blob;f=modules/jenkins/files/perlcriticrc>) near '%r'\n
severity = 4
program-extensions = .pl .t

Loading…
Cancel
Save