Refactor!: Update JJB code to comply with 5.x
[ci-management.git] / jjb / ric-plt-xapp-frame-cpp / ric-plt-xapp-frame-cpp.yaml
index 3ca6af3..41e9d43 100644 (file)
@@ -13,7 +13,7 @@
     jobs:
       - gerrit-info-yaml-verify
 
-- xapp_frame_cpp_common: &xapp_frame_cpp_common
+- _xapp_frame_cpp_common: &xapp_frame_cpp_common
     name: xapp-frame-cpp-common
     # git repo
     project: ric-plt/xapp-frame-cpp
@@ -31,7 +31,8 @@
     # install RMR per version file in repo
     pre-build: !include-raw-escape:
       - ../shell/install-deb-alien.sh
-      - ../shell/install-deb-rmr3.sh
+      - ../shell/install-deb-rmr.sh
+      - ../shell/install-git-RESTful.sh
     # skip install in cmake-build.sh
     install: false
 
       - master:
           branch: master
 
+# promote deb/rpm from staging to release at PackageCloud.io
+- project:
+    <<: *xapp_frame_cpp_common
+    name: ric-plt-xapp-frame-cpp-release
+    # release uses sigul which requires centos
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-packagecloud-release-verify
+      - gerrit-packagecloud-release-merge
+
 # analyze C code and test coverage
 - project:
     name: xapp-frame-cpp-sonarqube