3 name: ric-plt-xapp-frame-cpp-project-view
4 project-name: ric-plt-xapp-frame-cpp
9 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
14 - gerrit-info-yaml-verify
16 - xapp_frame_cpp_common: &xapp_frame_cpp_common
17 name: xapp-frame-cpp-common
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 ubuntu base for cmake v3
27 # Use docker variant for packagecloud ruby gem
28 build-node: ubuntu1804-docker-4c-4g
29 # install RMR per version file in repo for ubuntu
30 pre-build: !include-raw-escape:
31 - ../shell/install-deb-rmr3.sh
32 # verify and sonar use cmake
33 cmake-opts: -DDEV_PKG=1
34 make-opts: install test ARGS=-V
36 # verify on changes, publish on stage
38 name: xapp-frame-cpp-verify
39 <<: *xapp_frame_cpp_common
42 - oran-gerrit-cmake-pc-stage
47 # analyze C code and test coverage
49 name: xapp-frame-cpp-sonarqube
50 <<: *xapp_frame_cpp_common
51 sonar-project-file: ""
53 sonar.login={sonarcloud_api_token}
54 sonar.projectKey={sonarcloud_project_organization}_{project-name}
55 sonar.projectName={project-name}
56 sonar.organization={sonarcloud_project_organization}
57 sonar.build.sourceEncoding=UTF-8
59 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
60 sonar.cfamily.gcov.reportsPath=test
62 - gerrit-cmake-sonarqube