Refactor!: Update JJB code to comply with 5.x
[ci-management.git] / jjb / nonrtric-rapp-ransliceassurance / nonrtric-rapp-ransliceassurance.yaml
index e49cf8c..54f54d5 100644 (file)
@@ -13,7 +13,7 @@
     jobs:
       - gerrit-info-yaml-verify
 
-- ransliceassurance_common: &ransliceassurance_common
+- _ransliceassurance_common: &ransliceassurance_common
     name: ransliceassurance-common
     # git repo
     project: nonrtric/rapp/ransliceassurance
     stream:
       - master:
           branch: master
+      - f-release:
+          branch: f-release
+      - g-release:
+          branch: g-release
+
+- project:
+    <<: *ransliceassurance_common
+    name: nonrtric-rapp-ransliceassurance-icsversion
+    project-name: '{name}'
+    # image name
+    docker-name: 'o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion'
+    # get tag from YAML
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: '--network=host'
+    # Directory with Dockerfile
+    docker-root: 'icsversion'
+    # Directory where go test should be run
+    go-root: 'icsversion'
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+      - gerrit-go-verify
+    stream:
+      - master:
+          branch: master
+      - f-release:
+          branch: f-release
+      - g-release:
+          branch: g-release
 
 - project:
     <<: *ransliceassurance_common
@@ -65,6 +96,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
\ No newline at end of file
+      - gerrit-sonar-prescan-script