LF Jenkins CI | fa6d9e7 | 2020-02-26 17:20:43 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 3 | 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 CI | fa6d9e7 | 2020-02-26 17:20:43 +0000 | [diff] [blame] | 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 |
| 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 15 | |
| 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) | 42453bd | 2020-03-25 16:33:06 -0400 | [diff] [blame] | 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 |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 30 | pre-build: !include-raw-escape: |
| 31 | - ../shell/install-deb-rmr3.sh |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 32 | |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 33 | # development library - publish only |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 34 | - project: |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 35 | name: xapp-frame-cpp-lib-dev |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 36 | <<: *xapp_frame_cpp_common |
Lott, Christopher (cl778h) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 37 | 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) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 53 | jobs: |
| 54 | - gerrit-cmake-verify |
Lott, Christopher (cl778h) | 42453bd | 2020-03-25 16:33:06 -0400 | [diff] [blame] | 55 | - oran-gerrit-cmake-pc-stage |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 56 | 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) | fe4cf19 | 2020-03-26 21:26:14 -0400 | [diff] [blame] | 64 | make-opts: test ARGS=-V |
Lott, Christopher (cl778h) | 95cc089 | 2020-03-25 09:20:01 -0400 | [diff] [blame] | 65 | 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 |