diff options
author | Nigel Babu <nigelb@redhat.com> | 2017-08-14 17:15:45 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2017-08-14 17:15:45 +0530 |
commit | a704ed52cbeffa0d0a29829ad17feac5c2a056a3 (patch) | |
tree | 07b87abbe6a0554afea08144cf97c7fbcf7290f3 /build-gluster-org/jobs/clang.yml | |
parent | 6c94acb19ad41091ee74f6b0ed013ccef16ebf6d (diff) |
Run clang in a fedora chroot
This job builds a chroot, installs clang, copies the code inside, does
a clang analyze inside the chroot and then copies the results out.
Change-Id: I3899cf0a41c3ff5c772cb6d98b15ff1634f8cdb8
Diffstat (limited to 'build-gluster-org/jobs/clang.yml')
-rw-r--r-- | build-gluster-org/jobs/clang.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build-gluster-org/jobs/clang.yml b/build-gluster-org/jobs/clang.yml index 9d789ca..6001004 100644 --- a/build-gluster-org/jobs/clang.yml +++ b/build-gluster-org/jobs/clang.yml @@ -27,7 +27,13 @@ publishers: - scan-build: mark-unstable: true - threshold: 899 + threshold: 955 + - post-tasks: + - matches: + - log-text: Building remotely + script: | + sudo mock -r fedora-26-x86_64 --clean + sudo chown -R jenkins:jenkins clangScanBuildReports parameters: - string: |