diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index 05073f7836..3efe0d09b0 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -164,6 +164,7 @@ - python-diablo-bitrot-jobs - python-essex-bitrot-jobs - openstack-publish-jobs + - gate-{name}-pylint - project: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml index f513f96d85..612d26e106 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml @@ -56,6 +56,35 @@ node: '{node}' +- job-template: + name: 'gate-{name}-pylint' + concurrent: true + + wrappers: + - timeout: + timeout: 120 + fail: true + - timestamps + + logrotate: + daysToKeep: 28 + numToKeep: -1 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + triggers: + - zuul + + builders: + - gerrit-git-prep + - pylint + + publishers: + - pylint + + node: '{node}' + + - job-template: name: 'gate-{name}-python26' concurrent: true