Add netconf-4.0.x jobs
[releng/builder.git] / jjb / netconf / netconf.yaml
index eac56d0ea5c25bc8a7363d0b67a9e942746db343..0ce53e2cb610847c76623bf62197446c10c4e734 100644 (file)
@@ -1,25 +1,27 @@
 ---
 - project:
-    name: netconf-silicon
+    name: netconf-master
     jobs:
-      - "{project-name}-distribution-check-{stream}"
       - "{project-name}-rtd-jobs":
-          build-node: centos7-builder-2c-2g
+          build-node: centos8-builder-2c-2g
           project-pattern: netconf
           rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netconf/48397/
           rtd-token: aee2df909686ab7ba36f2ed08d90bdcf81f7b8dc
-      - odl-maven-jobs-jdk11
-      - odl-maven-verify-jobs
+      - gerrit-tox-verify:
+          build-node: centos8-builder-2c-2g
+          parallel: true
+      - odl-maven-jobs-jdk17
+      - odl-maven-verify-jobs-jdk17
 
-    stream: silicon
     project: "netconf"
     project-name: "netconf"
+    stream: master
     branch: "master"
-    build-node: centos7-builder-2c-8g
-    java-version: "openjdk11"
+    build-node: centos8-builder-4c-4g
+    java-version: "openjdk17"
+    karaf-version: "netconf"
     mvn-settings: "netconf-settings"
     mvn-goals: "clean deploy -Pintegrationtests"
-    mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
     build-timeout: 90
     dependencies: "aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}"
     email-upstream: "[netconf] [aaa] [controller] [odlparent] [yangtools]"
     staging-profile-id: a67b22fc3663f
 
 - project:
-    name: netconf-aluminium
+    name: netconf-4.0.x
     jobs:
-      - "{project-name}-distribution-check-{stream}"
       - "{project-name}-rtd-jobs":
-          build-node: centos7-builder-2c-2g
+          build-node: centos8-builder-2c-2g
           project-pattern: netconf
           rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netconf/48397/
           rtd-token: aee2df909686ab7ba36f2ed08d90bdcf81f7b8dc
-      - odl-maven-jobs-jdk11
-      - odl-maven-verify-jobs
+      - gerrit-tox-verify:
+          build-node: centos8-builder-2c-2g
+          parallel: true
+      - odl-maven-jobs-jdk17
+      - odl-maven-verify-jobs-jdk17
 
-    stream: aluminium
     project: "netconf"
     project-name: "netconf"
-    branch: "stable/aluminium"
-    build-node: centos7-builder-2c-8g
-    java-version: "openjdk11"
+    stream: 4.0.x
+    branch: "4.0.x"
+    build-node: centos8-builder-4c-4g
+    java-version: "openjdk17"
+    karaf-version: "netconf"
     mvn-settings: "netconf-settings"
     mvn-goals: "clean deploy -Pintegrationtests"
-    mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
     build-timeout: 90
     dependencies: "aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}"
     email-upstream: "[netconf] [aaa] [controller] [odlparent] [yangtools]"
@@ -56,9 +60,8 @@
     staging-profile-id: a67b22fc3663f
 
 - project:
-    name: netconf-magnesium
+    name: netconf-3.0.x
     jobs:
-      - "{project-name}-distribution-check-{stream}"
       - "{project-name}-rtd-jobs":
           build-node: centos7-builder-2c-2g
           project-pattern: netconf
           rtd-token: aee2df909686ab7ba36f2ed08d90bdcf81f7b8dc
       - odl-maven-jobs-jdk11
       - odl-maven-verify-jobs
+      - odl-maven-verify-jobs-jdk17:
+          build-node: centos8-builder-4c-4g
 
-    stream: magnesium
     project: "netconf"
     project-name: "netconf"
-    branch: "stable/magnesium"
-    build-node: centos7-builder-2c-8g
+    stream: 3.0.x
+    branch: 3.0.x
     java-version: "openjdk11"
+    karaf-version: "netconf"
     mvn-settings: "netconf-settings"
     mvn-goals: "clean deploy -Pintegrationtests"
     mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
     staging-profile-id: a67b22fc3663f
 
 - project:
-    name: netconf-sodium
+    name: netconf-release-management
     jobs:
-      - "{project-name}-distribution-check-{stream}"
-      - "{project-name}-rtd-jobs":
-          build-node: centos7-builder-2c-2g
-          project-pattern: netconf
-          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netconf/48397/
-          rtd-token: aee2df909686ab7ba36f2ed08d90bdcf81f7b8dc
-      - odl-maven-jobs
-      - odl-maven-verify-jobs
+      - gerrit-release-merge
 
-    stream: sodium
-    project: "netconf"
-    project-name: "netconf"
-    branch: "stable/sodium"
-    build-node: centos7-builder-2c-8g
-    mvn-settings: "netconf-settings"
-    mvn-goals: "clean deploy -Pintegrationtests"
-    mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
-    build-timeout: 90
-    dependencies: "aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}"
-    email-upstream: "[netconf] [aaa] [controller] [odlparent] [yangtools]"
+    project: netconf
+    project-name: netconf
 
-    # Used by the release job
-    staging-profile-id: a67b22fc3663f
+    build-node: centos7-builder-2c-1g
+    mvn-settings: netconf-settings
+    # Needs to be rather long until we sort out the performance of
+    # https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/
+    build-timeout: 120
 
 - project:
     name: netconf-sonar
       - gerrit-maven-sonar:
           mvn-params: >
             -Dodl.jacoco.aggregateFile=$WORKSPACE/target/jacoco.exec
-            -Dsonar.jacoco.reportPath=$WORKSPACE/target/jacoco.exec
+            -Dskip.karaf.featureTest=true
+          sonar-mvn-goal: >
+            jacoco:report -Djacoco.dataFile=$WORKSPACE/target/jacoco.exec
+            sonar:sonar
 
     project: "netconf"
     project-name: "netconf"
     branch: "master"
-    build-node: centos7-builder-2c-8g
-    java-version: "openjdk11"
+    build-node: centos8-builder-4c-4g
+    java-version: "openjdk17"
+    mvn-version: mvn38
     mvn-settings: "netconf-settings"
     mvn-goals: "clean deploy -Pintegrationtests"
-    mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
     build-timeout: 90
     sonarcloud: true
     sonarcloud-project-organization: "{sonarcloud_project_organization}"