Migrate sonar job 19/6119/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 23 Aug 2017 23:15:38 +0000 (19:15 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 29 Aug 2017 15:41:53 +0000 (11:41 -0400)
commit7f77f1fb4e685f631912c25955bfd54d5b06c22c
tree47a731c5664a6563e9a1a700abc1ee7edb3be726
parent6b7ea0316fdc6f6e3b3e6f443c723d0818b34c61
Migrate sonar job

This patch uses OpenDaylight Maven Sonar job as a base and modifies it
to be more generic for use in global-jjb.

Changes from original:

- Support overriding Sonar Gerrit Triggers.
- Use maven deploy goal rather than install. End result is the same but
  deploy sends artifacts to a staging repo which we can check if needed.

Issue: RELENG-243
Change-Id: Ided78015ced8b2d4b42ed452b704e1fe65770a01
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.jjb-test/expected-xml/gerrit-maven-sonar [new file with mode: 0644]
.jjb-test/expected-xml/github-maven-sonar [new file with mode: 0644]
.jjb-test/lf-maven-jobs.yaml
README.md
jjb/lf-maven-jobs.yaml
shell/maven-sonar.sh [new file with mode: 0644]