rulesets.jenkins.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
<ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd" xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd"> <description> Jenkins rule set. These rules implement best practices to avoid runtime errors from the CPS Interpreter in Jenkinsfiles and Jenkins libraries. </description> <rule class='org.codenarc.rule.jenkins.ParameterOrReturnTypeNotSerializableRule'/> <rule class='org.codenarc.rule.jenkins.ObjectOverrideOnlyNonCpsMethods'/> <rule class='org.codenarc.rule.jenkins.ForbiddenCallInCpsMethodRule'/> <rule class='org.codenarc.rule.jenkins.ExpressionInCpsMethodNotSerializableRule'/> <rule class='org.codenarc.rule.jenkins.CpsCallFromNonCpsMethodRule'/> <rule class='org.codenarc.rule.jenkins.ClosureInGStringRule'/> <rule class='org.codenarc.rule.jenkins.ClassNotSerializableRule'/> </ruleset>