blob: 5fd387bf287d89f13626d30188a712ac9b51c455 [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
Lott, Christopher (cl778h)42453bd2020-03-25 16:33:06 -040026 # 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
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040030 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
35
Lott, Christopher (cl778h)42453bd2020-03-25 16:33:06 -040036# verify on changes, publish on stage
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040037- project:
38 name: xapp-frame-cpp-verify
39 <<: *xapp_frame_cpp_common
40 jobs:
41 - gerrit-cmake-verify
Lott, Christopher (cl778h)42453bd2020-03-25 16:33:06 -040042 - oran-gerrit-cmake-pc-stage
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040043 stream:
44 - master:
45 branch: master
46
47# analyze C code and test coverage
48- project:
49 name: xapp-frame-cpp-sonarqube
50 <<: *xapp_frame_cpp_common
51 sonar-project-file: ""
52 sonar-properties: |
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
58 sonar.sources=src
59 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
60 sonar.cfamily.gcov.reportsPath=test
61 jobs:
62 - gerrit-cmake-sonarqube