- job: name: clang-format node: fedora30 description: Pre-commit clang-format check project-type: freestyle concurrent: true scm: - glusterfs properties: - discard-after-x: x: 10 - one-build-per-node triggers: - gerrit: trigger-on: - patchset-created-event: exclude-drafts: false exclude-trivial-rebase: false exclude-no-code-change: false - draft-published-event - comment-added-contains-event: comment-contains-value: "recheck smoke" server-name: review.gluster.org_for-smoke-jobs projects: - project-compare-type: 'PLAIN' project-pattern: 'glusterfs' branches: - branch-compare-type: 'PLAIN' branch-pattern: 'master' - branch-compare-type: 'PLAIN' branch-pattern: 'release-5' 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/clang-format.py wrappers: - timestamps - timeout: timeout: 30 abort: true type: absolute