Refactor!: Update JJB code to comply with 5.x
[ci-management.git] / jjb / nonrtric-plt-sme / nonrtric-plt-sme.yaml
index 12d9c59..a033ded 100644 (file)
@@ -15,7 +15,7 @@
     jobs:
       - gerrit-info-yaml-verify
 
-- nonrtric_plt_sme_common: &nonrtric_plt_sme_common
+- _nonrtric_plt_sme_common: &nonrtric_plt_sme_common
     # values apply to all projects here
     name: nonrtric-plt-sme-common
     # git repo
     java-version: openjdk11
     mvn-version: mvn36
 
+- project:
+    <<: *nonrtric_plt_sme_common
+    name: nonrtric-plt-sme-release
+    # maven release requires sigul which requires centos
+    # container release requires docker
+    build-node: centos7-docker-2c-8g
+    jobs:
+      - '{project-name}-gerrit-release-jobs'
+
 - project:
     <<: *nonrtric_plt_sme_common
     name: nonrtric-plt-sme-capifcore
@@ -36,6 +45,7 @@
     docker-name: 'o-ran-sc/nonrtric-plt-capifcore'
     # get tag from YAML
     container-tag-method: yaml-file
+    container-tag-yaml-dir: capifcore
     # use host network to clone from our gerrit
     docker-build-args: '--network=host'
     # Directory with Dockerfile
@@ -54,6 +64,8 @@
     stream:
       - master:
           branch: master
+      - g-release:
+          branch: g-release
 
 - project:
     <<: *nonrtric_plt_sme_common
@@ -68,6 +80,6 @@
     sonar-project-file: ""
     java-version: openjdk11
     # use sonarcloud values from defaults.yaml
-    sonar-properties: !include-raw: sonar-project.properties
+    sonar-properties: !include-raw-escape: sonar-project.properties
     jobs:
       - gerrit-sonar-prescan-script