Move views declarations to projects folders
[releng/builder.git] / jjb / integration / distribution / distribution-jobs.yaml
index 5caeead33c15e8c9f20a8d7b5b6c4a7ffc045ca0..5e3708d5aeca166b6bda4c92fab1b05680fe6242 100644 (file)
@@ -7,6 +7,7 @@
       - 'distribution-verify-{stream}'
       - 'distribution-check-{stream}'
       - 'distribution-sanity-{stream}'
+      - 'distribution-managed-{stream}'
       - gerrit-maven-clm
       - gerrit-maven-verify-dependencies
       - gerrit-tox-verify
           branch: 'master'
           karaf-version: odl
           # Self-Managed projects repos and features:
-          sm-repos: >
-              mvn:org.opendaylight.sxp/features-sxp//xml/features
-          sm-features: >
-              odl-sxp-controller
+          sm-repos: mvn:org.opendaylight.sxp/features-sxp//xml/features
+          sm-features: odl-sxp-controller
       - oxygen:
           branch: 'stable/oxygen'
           karaf-version: karaf4
     name: 'distribution-sanity-{stream}'
     # Goal: Verify distribution starts with no issues when all features are loaded.
     # Operation: This job deploys odl-integration-all + list of UM features.
-    # This jobs works for both managed & self-managed distro.
+    # This job works for both managed & self-managed distro.
 
     project-type: freestyle
     node: centos7-builder-4c-4g
           email-prefix: '[{project-name}]'
       - integration-csit-archive-build
       - lf-infra-publish
+
+- job-template:
+    name: 'distribution-managed-{stream}'
+    # Goal: Verify distribution starts with no issues when all features are loaded.
+    # Operation: This job deploys odl-integration-all.
+    # This job works for just managed distro.
+
+    project-type: freestyle
+    node: centos7-builder-4c-4g
+    concurrent: false
+
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - distribution-karaf-version:
+          karaf-version: 'karaf4'
+
+    wrappers:
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
+
+    builders:
+      - integration-detect-variables
+      - distribution-check-bootup
+
+    publishers:
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project-name}]'
+      - integration-csit-archive-build
+      - lf-infra-publish
+
+- view:
+    name: distribution
+    description: 'List of distribution jobs'
+    regex: '^(integration-)?distribution-.*'
+    <<: *releng_view_common