summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/clang.yml
diff options
context:
space:
mode:
authordeepshikhaaa <deepshikhakhandelwal8@gmail.com>2017-07-20 18:49:53 +0530
committerdeepshikhaaa <deepshikhakhandelwal8@gmail.com>2017-07-20 23:33:33 +0530
commit064d474e92d0ae88c5d2112a27492594c6874c2e (patch)
tree5f2a45c7b963c0256954fb0bdfb85132dc390939 /build-gluster-org/jobs/clang.yml
parent541bf064719d1ae256e87abbb8a0246ca74088e8 (diff)
Added a clang scan-build job to gluster pipeline
Change-Id: Ie265380582b1423630f49d8c504b6ac6155a002c Signed-off-by: deepshikhaaa <deepshikhakhandelwal8@gmail.com>
Diffstat (limited to 'build-gluster-org/jobs/clang.yml')
-rw-r--r--build-gluster-org/jobs/clang.yml43
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