From 9bec9c5e379a99509aaa5291b5dc2ef107f906e5 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Fri, 6 Jul 2018 12:09:32 +0530 Subject: Add a job for python3 compliance Change-Id: Ia3c773462fedc2b331c5de5431b3f4b428f0b3ef --- build-gluster-org/jobs/python-compliance.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 build-gluster-org/jobs/python-compliance.yml (limited to 'build-gluster-org/jobs') diff --git a/build-gluster-org/jobs/python-compliance.yml b/build-gluster-org/jobs/python-compliance.yml new file mode 100644 index 0000000..5b20bf2 --- /dev/null +++ b/build-gluster-org/jobs/python-compliance.yml @@ -0,0 +1,35 @@ +- job: + name: python-compliance + node: smoke7 + description: Check for python3 compliance + project-type: freestyle + concurrent: true + + scm: + - glusterfs + + properties: + - discard-after-x: + x: 10 + - one-build-per-node + + parameters: + - string: + default: refs/heads/master + description: 'For review 12345 and patch set 6, this will be refs/changes/45/12345/6. Default: Tip of master' + name: GERRIT_REFSPEC + - string: + default: master + description: 'Name of the branch you want to build from. We usually build from master' + name: GERRIT_BRANCH + + builders: + - shell: !include-raw: ../scripts/python-compliance.sh + + wrappers: + - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute + -- cgit