Add jobs for infrautils-4.0.x
[releng/builder.git] / jjb / infrautils / infrautils.yaml
index bf679d201c0d6e1d4240de213ab8e532ca10c120..d9210e2642c4c24b909f6fe7850fcbe478080b3c 100644 (file)
@@ -8,16 +8,16 @@
           project-pattern: infrautils
           rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-infrautils/38993/
           rtd-token: 294c76173237e3a088365c31012cf4ddaa767dc9
-      - odl-maven-jobs-jdk11
-      - odl-maven-verify-jobs
+      - odl-maven-jobs-jdk17
+      - odl-maven-verify-jobs-jdk17
 
     stream: master
     project: "infrautils"
     project-name: "infrautils"
     branch: "master"
-    java-version: "openjdk11"
+    java-version: "openjdk17"
     mvn-settings: "infrautils-settings"
-    mvn-opts: "-Xmx1024m"
+    build-node: centos8-builder-4c-4g
     dependencies: "odlparent-merge-{stream}"
     email-upstream: "[infrautils] [odlparent]"
 
     staging-profile-id: 96fca0367756c
 
 - project:
-    name: infrautils-magnesium
+    name: infrautils-4.0.x
+    jobs:
+      - "{project-name}-rtd-jobs":
+          build-node: centos7-builder-2c-2g
+          doc-dir: .tox/docs/tmp/html
+          project-pattern: infrautils
+          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-infrautils/38993/
+          rtd-token: 294c76173237e3a088365c31012cf4ddaa767dc9
+      - odl-maven-jobs-jdk17
+      - odl-maven-verify-jobs-jdk17
+
+    stream: 4.0.x
+    project: "infrautils"
+    project-name: "infrautils"
+    branch: "4.0.x"
+    java-version: "openjdk17"
+    mvn-settings: "infrautils-settings"
+    build-node: centos8-builder-4c-4g
+    dependencies: "odlparent-merge-{stream}"
+    email-upstream: "[infrautils] [odlparent]"
+
+    # Used by the release job
+    staging-profile-id: 96fca0367756c
+
+- project:
+    name: infrautils-3.0.x
     jobs:
-      - "{project-name}-distribution-check-{stream}"
-      - "{project-name}-maven-javadoc-jobs"
       - "{project-name}-rtd-jobs":
           build-node: centos7-builder-2c-2g
           doc-dir: .tox/docs/tmp/html
           rtd-token: 294c76173237e3a088365c31012cf4ddaa767dc9
       - odl-maven-jobs-jdk11
       - odl-maven-verify-jobs
+      - odl-maven-verify-jobs-jdk17:
+          build-node: centos8-builder-4c-4g
 
-    stream: magnesium
+    stream: 3.0.x
     project: "infrautils"
     project-name: "infrautils"
-    branch: "stable/magnesium"
+    branch: 3.0.x
     java-version: "openjdk11"
     mvn-settings: "infrautils-settings"
-    mvn-opts: "-Xmx1024m"
     dependencies: "odlparent-merge-{stream}"
     email-upstream: "[infrautils] [odlparent]"
 
 
     build-node: centos7-builder-2c-1g
     mvn-settings: infrautils-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: 60
 
 - project:
     name: infrautils-sonar
     jobs:
-      - gerrit-maven-sonar
+      - gerrit-maven-sonar:
+          mvn-params: >
+            -Dodl.jacoco.aggregateFile=$WORKSPACE/target/jacoco.exec
+            -Dskip.karaf.featureTest=true
+          sonar-mvn-goal: >
+            jacoco:report -Djacoco.dataFile=$WORKSPACE/target/jacoco.exec
+            sonar:sonar
+
     project: "infrautils"
     project-name: "infrautils"
     branch: "master"
-    java-version: "openjdk11"
+    java-version: "openjdk17"
+    mvn-version: mvn38
     mvn-settings: "infrautils-settings"
-    mvn-opts: "-Xmx1024m"
+    build-node: centos8-builder-4c-4g
     sonarcloud: true
     sonarcloud-project-organization: "{sonarcloud_project_organization}"
     sonarcloud-api-token: "{sonarcloud_api_token}"