adjust everything for compliance with puppet-lint
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -51,16 +51,9 @@ pipeline {
|
||||
|
||||
stage('puppet-lint') {
|
||||
steps {
|
||||
sh '''find . -iname *.pp -exec /usr/local/rvm/gems/ruby-2.5.0/wrappers/puppet-lint \\
|
||||
--no-class_inherits_from_params_class-check \\
|
||||
--no-variable_scope-check \\
|
||||
--no-80chars-check \\
|
||||
--no-arrow_alignment-check \\
|
||||
--no-autoloader_layout-check \\
|
||||
--no-140chars-check \\
|
||||
--log-format "%{path}:%{line}:%{check}:%{KIND}:%{message}" {} \\;
|
||||
sh '''/usr/local/bin/puppet-lint . \\
|
||||
--no-variable_scope-check \\
|
||||
'''
|
||||
/* recordIssues aggregatingResults: true, tool: puppetLint() */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user