diff options
Diffstat (limited to 'build-gluster-org/jobs/clang.yml')
-rw-r--r-- | build-gluster-org/jobs/clang.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/clang.yml b/build-gluster-org/jobs/clang.yml new file mode 100644 index 0000000..9d789ca --- /dev/null +++ b/build-gluster-org/jobs/clang.yml @@ -0,0 +1,43 @@ +- job: + name: clang-scan + node: smoke7 + description: Run the clang scan-build on gluster code + project-type: freestyle + concurrent: true + + scm: + - git: + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + choosing-strategy: gerrit + url: https://github.com/gluster/glusterfs + + properties: + - discard-after-x: + x: 30 + - one-build-per-node + + triggers: + - timed: "H 0 * * *" + + builders: + - shell: !include-raw: ../scripts/clang.sh + + publishers: + - scan-build: + mark-unstable: true + threshold: 899 + + 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 + + wrappers: + - timestamps |