blob: 9bbd4311141329450a731d523d2fec1f06c1a9ab [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
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040032
Lott, Christopher (cl778h)fe4cf192020-03-26 21:26:14 -040033# development library - publish only
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040034- project:
Lott, Christopher (cl778h)fe4cf192020-03-26 21:26:14 -040035 name: xapp-frame-cpp-lib-dev
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040036 <<: *xapp_frame_cpp_common
Lott, Christopher (cl778h)fe4cf192020-03-26 21:26:14 -040037 project-name: ric-plt-xapp-frame-cpp-dev
38 cmake-opts: -DDEV_PKG=1
39 make-opts: package ARGS=-V
40 jobs:
41 - oran-gerrit-cmake-pc-stage
42 stream:
43 - master:
44 branch: master
45
46# runtime library - test and publish
47- project:
48 name: xapp-frame-cpp-lib-rt
49 <<: *xapp_frame_cpp_common
50 project-name: ric-plt-xapp-frame-cpp-lib
51 cmake-opts: -DDEV_PKG=0
52 make-opts: test package ARGS=-V
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040053 jobs:
54 - gerrit-cmake-verify
Lott, Christopher (cl778h)42453bd2020-03-25 16:33:06 -040055 - oran-gerrit-cmake-pc-stage
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040056 stream:
57 - master:
58 branch: master
59
60# analyze C code and test coverage
61- project:
62 name: xapp-frame-cpp-sonarqube
63 <<: *xapp_frame_cpp_common
Lott, Christopher (cl778h)fe4cf192020-03-26 21:26:14 -040064 make-opts: test ARGS=-V
Lott, Christopher (cl778h)95cc0892020-03-25 09:20:01 -040065 sonar-project-file: ""
66 sonar-properties: |
67 sonar.login={sonarcloud_api_token}
68 sonar.projectKey={sonarcloud_project_organization}_{project-name}
69 sonar.projectName={project-name}
70 sonar.organization={sonarcloud_project_organization}
71 sonar.build.sourceEncoding=UTF-8
72 sonar.sources=src
73 sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output
74 sonar.cfamily.gcov.reportsPath=test
75 jobs:
76 - gerrit-cmake-sonarqube