All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rulesets.jenkins.xml Maven / Gradle / Ivy

There is a newer version: 3.5.0-groovy-4.0
Show newest version
<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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy