diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index 94bc222c6d..1653804bb7 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -47,6 +47,11 @@ builders: - shell: "set -o pipefail ; tox -v -epep8 | tee pep8.txt ; set +o pipefail" +- builder: + name: pylint + builders: + - shell: "set -o pipefail ; tox -v -epylint | tee pylint.txt ; set +o pipefail" + - builder: name: pyflakes builders: @@ -114,3 +119,23 @@ site: '{site}' source: '{warfile}' target: '{target}' + +- publisher: + name: pep8 + publishers: + - violations: + pep8: + min: 0 + max: 1 + unstable: 1 + pattern: '**/pep8.txt' + +- publisher: + name: pylint + publishers: + - violations: + pylint: + min: 0 + max: 1 + unstable: 1 + pattern: '**/pylint.txt'