blob: f28f5156d4f50d32f3a1dbf21b08e474fdbe7deb [file] [log] [blame]
LF Jenkins CIfa6d9e72020-02-26 17:20:43 +00001---
2- project:
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -04003 name: ric-plt-xapp-frame-cpp-project-view
4 project-name: ric-plt-xapp-frame-cpp
5 views:
6 - project-view
7
8- project:
LF Jenkins CIfa6d9e72020-02-26 17:20:43 +00009 name: ric-plt-xapp-frame-cpp-info
10 project: ric-plt/xapp-frame-cpp
11 project-name: ric-plt-xapp-frame-cpp
12 build-node: centos7-builder-1c-1g
13 jobs:
14 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040015
16- xapp_frame_cpp_common: &xapp_frame_cpp_common
17 name: xapp-frame-cpp-common
18 # git repo
19 project: ric-plt/xapp-frame-cpp
20 # jenkins job name prefix
21 project-name: ric-plt-xapp-frame-cpp
22 # maven settings file has credentials to archive artifacts
23 mvn-settings: ric-plt-xapp-frame-cpp-settings
24 # test scripts depend on this name
25 build-dir: $WORKSPACE/build
26 # use an ubuntu for its modern compiler and cmake
27 build-node: ubuntu1804-builder-2c-2g
28 # install RMR per version file in repo
29 pre-build: !include-raw-escape:
30 - ../shell/install-deb-rmr3.sh
31 # verify and sonar use cmake
32 cmake-opts: -DDEV_PKG=1
33 make-opts: install test ARGS=-V
34
35# verify changes
36- project:
37 name: xapp-frame-cpp-verify
38 <<: *xapp_frame_cpp_common
39 jobs:
40 - gerrit-cmake-verify
41 stream:
42 - master:
43 branch: master
44
45# analyze C code and test coverage
46- project:
47 name: xapp-frame-cpp-sonarqube
48 <<: *xapp_frame_cpp_common
49 sonar-project-file: ""
50 sonar-properties: |
51 sonar.login={sonarcloud_api_token}
52 sonar.projectKey={sonarcloud_project_organization}_{project-name}
53 sonar.projectName={project-name}
54 sonar.organization={sonarcloud_project_organization}
55 sonar.build.sourceEncoding=UTF-8
56 sonar.sources=src
57 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
58 sonar.cfamily.gcov.reportsPath=test
59 jobs:
60 - gerrit-cmake-sonarqube