--- - project: name: ric-plt-xapp-frame-cpp-project-view project-name: ric-plt-xapp-frame-cpp views: - project-view - project: name: ric-plt-xapp-frame-cpp-info project: ric-plt/xapp-frame-cpp project-name: ric-plt-xapp-frame-cpp build-node: centos7-builder-1c-1g jobs: - gerrit-info-yaml-verify - xapp_frame_cpp_common: &xapp_frame_cpp_common name: xapp-frame-cpp-common # git repo project: ric-plt/xapp-frame-cpp # jenkins job name prefix project-name: ric-plt-xapp-frame-cpp # maven settings file has credentials to archive artifacts mvn-settings: ric-plt-xapp-frame-cpp-settings # test scripts depend on this name build-dir: $WORKSPACE/build # use an ubuntu for its modern compiler and cmake build-node: ubuntu1804-builder-2c-2g # install RMR per version file in repo pre-build: !include-raw-escape: - ../shell/install-deb-rmr3.sh # verify and sonar use cmake cmake-opts: -DDEV_PKG=1 make-opts: install test ARGS=-V # verify changes - project: name: xapp-frame-cpp-verify <<: *xapp_frame_cpp_common jobs: - gerrit-cmake-verify stream: - master: branch: master # analyze C code and test coverage - project: name: xapp-frame-cpp-sonarqube <<: *xapp_frame_cpp_common sonar-project-file: "" sonar-properties: | sonar.login={sonarcloud_api_token} sonar.projectKey={sonarcloud_project_organization}_{project-name} sonar.projectName={project-name} sonar.organization={sonarcloud_project_organization} sonar.build.sourceEncoding=UTF-8 sonar.sources=src sonar.cfamily.build-wrapper-output=$WORKSPACE/bw-output sonar.cfamily.gcov.reportsPath=test jobs: - gerrit-cmake-sonarqube