feat: add 2210 stream 91/37891/5
authorMauro Sardara <[email protected]>
Tue, 10 Jan 2023 17:44:15 +0000 (18:44 +0100)
committerMauro Sardara <[email protected]>
Wed, 11 Jan 2023 15:47:55 +0000 (15:47 +0000)
Change-Id: I4a03ed221c87642d915adf6282c5c73d5578eeb4
Signed-off-by: Mauro Sardara <[email protected]>
jjb/hicn/hicn.yaml

index ab41a8a..843d852 100644 (file)
     os: ubuntu2004
     executor-arch: "x86_64"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
 
 - project:
     name: hicn-aarch64
     os: ubuntu2004
     executor-arch: "aarch64"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
 
 - project:
     name: hicn-misc
       - "hicn-checkstyle-verify-{stream}-{os}-{executor-arch}"
     project: "hicn"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
     os: ubuntu2004
     executor-arch: "x86_64"
 
     os: ubuntu2004
     executor-arch: "x86_64"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
 
 - project:
     name: hicn-extras-aarch64
     os: ubuntu2004
     executor-arch: "aarch64"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
 
 - project:
     name: hicn-vpp-latest-x86_64
     os: ubuntu2004
     executor-arch: "x86_64"
     stream:
-      - master:
+      - "master":
           branch: "master"
+          repo: "hicn"
 
 - project:
     name: hicn-vpp-latest-aarch64
     os: ubuntu2004
     executor-arch: "aarch64"
     stream:
-      - master:
+      - "master":
           branch: "master"
+          repo: "hicn"
 
 - project:
     name: hicn-view
 - project:
     name: hicn-sonar
     jobs:
-      - hicn-sonar-scanner
+      - "hicn-sonar-scanner-{stream}"
     project: hicn
     sonarcloud: true
     sonarcloud-project-organization: "{sonarcloud_project_organization}"
     sonarcloud-api-token: "{sonarcloud_api_token}"
     sonarcloud-project-key: "{sonarcloud_project_organization}-{project}"
     stream:
-      - hicn:
+      - "master":
           branch: "master"
+          repo: "hicn"
+      - "2210":
+          branch: "stable/2210"
+          repo: "2210"
 
 - job-template:
-    name: hicn-sonar-scanner
+    name: "hicn-sonar-scanner-{stream}"
 
     project-type: freestyle
     node: centos7-docker-4c-4g
       - gerrit-parameter:
           branch: "{branch}"
       - stream-parameter:
-          stream: "{stream}"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
       - os-parameter:
           os: "{os}"
       - stream-parameter:
-          stream: "{stream}"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
       - archive-artifacts:
           artifacts: "packages/*.deb, packages/*.rpm"
       - xunit:
-          thresholdmode: 'percent'
+          thresholdmode: "percent"
           thresholds:
             - failed:
-                  failure: 0
+                failure: 0
           types:
             - gtest:
                 pattern: "**/reports/*report.xml"
       - os-parameter:
           os: "{os}"
       - stream-parameter:
-          stream: "{stream}"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
     publishers:
       - fdio-infra-publish
       - xunit:
-          thresholdmode: 'percent'
+          thresholdmode: "percent"
           thresholds:
             - failed:
-                  failure: 0
+                failure: 0
           types:
             - gtest:
                 pattern: "**/reports/*report.xml"
       - os-parameter:
           os: "{os}"
       - stream-parameter:
-          stream: "{stream}"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
       - os-parameter:
           os: "{os}"
       - stream-parameter:
-          stream: "hicn"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
       - os-parameter:
           os: "{os}"
       - stream-parameter:
-          stream: "{stream}"
+          stream: "{repo}"
 
     scm:
       - gerrit-trigger-scm:
           build-timeout: 120
 
     triggers:
-
-      - timed: 'H H * * *'
+      - timed: "H H * * *"
       - gerrit-trigger-manually-triggered:
-          comment-trigger-value: 'verify-vpp-latest'
-          name: '{project}'
-          branch: '{branch}'
+          comment-trigger-value: "verify-vpp-latest"
+          name: "{project}"
+          branch: "{branch}"
 
     builders:
       - shell: !include-raw-escape: