X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-templates.yaml;h=82da1179890c97025a3bd0fa54d81a44021c28c1;hb=6e0c465c6742f4ca62c0086050f0f13d11bba427;hp=7c8cd4f1ab444498c4d45100d92a5e1317ee909b;hpb=2074d6c606284db9e707000451ca3c131323a0f8;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 7c8cd4f1a..82da11798 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -1,3 +1,22 @@ +# Job templates in this file (please update with every new template): +# +# {project}-csit-verify-{functionality}-{stream} +# {project}-csit-1node-imds-{functionality}-{install}-{stream} +# {project}-csit-1node-cds-{functionality}-{install}-{stream} +# {project}-csit-periodic-1node-cds-{functionality}-{install}-{stream} +# {project}-csit-3node-cds-{functionality}-{install}-{stream} +# +# New (for Be release): +# {project}-csit-verify-1node-{functionality}-{stream} +# {project}-csit-1node-{functionality}-{install}-{stream} +# {project}-csit-1node-periodic-{functionality}-{install}-{stream} +# {project}-csit-verify-3node-{functionality}-{stream} +# {project}-csit-3node-{functionality}-{install}-{stream} +# {project}-csit-3node-periodic-{functionality}-{install}-{stream} +# + +# Old templates + - job-template: name: '{project}-csit-verify-{functionality}-{stream}' @@ -8,7 +27,7 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: @@ -36,7 +55,8 @@ - build-timeout - integration-jclouds-controller-mininet: controller-vms: 1 - mininet-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -72,7 +92,7 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: @@ -89,18 +109,20 @@ test-options: '{robot-options}' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' scm: - - git-scm: + - integration-patch-scm: credentials-id: '{ssh-credentials}' - refspec: '' branch: '{branch}' wrappers: - build-timeout - integration-jclouds-controller-mininet: controller-vms: 1 - mininet-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -132,6 +154,7 @@ style: line use-description: false csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + keep-records: true series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -144,6 +167,7 @@ style: line use-description: false csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + keep-records: true series: - file: '{02-plot-data-file}' inclusion-flag: 'off' @@ -160,7 +184,7 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: @@ -177,18 +201,20 @@ test-options: '{robot-options}' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' scm: - - git-scm: + - integration-patch-scm: credentials-id: '{ssh-credentials}' - refspec: '' branch: '{branch}' wrappers: - build-timeout - integration-jclouds-controller-mininet: controller-vms: 1 - mininet-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -220,6 +246,7 @@ style: line use-description: false csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + keep-records: true series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -232,6 +259,7 @@ style: line use-description: false csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + keep-records: true series: - file: '{02-plot-data-file}' inclusion-flag: 'off' @@ -249,7 +277,7 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: @@ -266,18 +294,19 @@ test-options: '{robot-options}' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' scm: - - git-scm: + - integration-patch-scm: credentials-id: '{ssh-credentials}' - refspec: '' branch: '{branch}' wrappers: - - build-timeout - integration-jclouds-controller-mininet: controller-vms: 1 - mininet-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -307,6 +336,7 @@ style: line use-description: false csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + keep-records: true series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -319,6 +349,7 @@ style: line use-description: false csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + keep-records: true series: - file: '{02-plot-data-file}' inclusion-flag: 'off' @@ -336,7 +367,7 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: @@ -353,18 +384,20 @@ test-options: '{robot-options}' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' scm: - - git-scm: + - integration-patch-scm: credentials-id: '{ssh-credentials}' - refspec: '' branch: '{branch}' wrappers: - build-timeout - integration-jclouds-controller-mininet: controller-vms: 3 - mininet-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -386,7 +419,7 @@ - integration-start-cluster-run-test publishers: - integration-robot: - unstable-if: 95.0 + unstable-if: 0.0 pass-if: 100.0 - archive: artifacts: '*karaf.log' @@ -400,6 +433,7 @@ style: line use-description: false csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + keep-records: true series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -412,6 +446,509 @@ style: line use-description: false csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + keep-records: true + series: + - file: '{02-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + +# New templates + +- job-template: + name: '{project}-csit-verify-1node-{functionality}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: 'only' + - integration-controller-features: + controller-features: '{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - integration-test-gerrit-trigger-patch-submitted: + name: 'integration' + branch: '{branch}' + project: '{project}' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-deploy-controller-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 0.0 + - archive: + artifacts: 'karaf.log' + - email-notification: + email-prefix: '[{project}]' + +- job-template: + name: '{project}-csit-1node-{functionality}-{install}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: '{scope}' + - integration-controller-features: + controller-features: '{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' + + scm: + - integration-patch-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - reverse: + jobs: '{trigger-jobs}' + result: 'success' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-deploy-controller-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 100.0 + - archive: + artifacts: 'karaf.log' + - email-notification: + email-prefix: '[{project}]' + - plot: + - title: '{01-plot-title}' + yaxis: '{01-plot-yaxis}' + group: '{01-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + series: + - file: '{01-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + - title: '{02-plot-title}' + yaxis: '{02-plot-yaxis}' + group: '{02-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + series: + - file: '{02-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + +- job-template: + name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: '{scope}' + - integration-controller-features: + controller-features: '{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' + + scm: + - integration-patch-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 1 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '{schedule}' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-deploy-controller-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 100.0 + - archive: + artifacts: 'karaf.log' + - email-notification: + email-prefix: '[{project}]' + - plot: + - title: '{01-plot-title}' + yaxis: '{01-plot-yaxis}' + group: '{01-plot-group}' + num-builds: '180' + style: line + use-description: false + csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + series: + - file: '{01-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + - title: '{02-plot-title}' + yaxis: '{02-plot-yaxis}' + group: '{02-plot-group}' + num-builds: '180' + style: line + use-description: false + csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + series: + - file: '{02-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + +- job-template: + name: '{project}-csit-verify-3node-{functionality}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: 'only' + - integration-controller-features: + controller-features: 'odl-mdsal-clustering,{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 3 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - integration-test-gerrit-trigger-patch-submitted: + name: 'integration' + branch: '{branch}' + project: '{project}' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-get-bundle-vars + - inject: + properties-file: 'bundle_vars.txt' + - integration-deploy-controller + - integration-configure-clustering + - integration-start-cluster-run-test + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 0.0 + - archive: + artifacts: '*karaf.log' + - email-notification: + email-prefix: '[{project}]' + +- job-template: + name: '{project}-csit-3node-{functionality}-{install}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: '{scope}' + - integration-controller-features: + controller-features: 'odl-mdsal-clustering,{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' + + scm: + - integration-patch-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 3 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - reverse: + jobs: '{trigger-jobs}' + result: 'success' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-get-bundle-vars + - inject: + properties-file: 'bundle_vars.txt' + - integration-deploy-controller + - integration-configure-clustering + - integration-start-cluster-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 100.0 + - archive: + artifacts: '*karaf.log' + - email-notification: + email-prefix: '[{project}]' + - plot: + - title: '{01-plot-title}' + yaxis: '{01-plot-yaxis}' + group: '{01-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + series: + - file: '{01-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + - title: '{02-plot-title}' + yaxis: '{02-plot-yaxis}' + group: '{02-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + series: + - file: '{02-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + +- job-template: + name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}' + + project-type: freestyle + node: dynamic_robot + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' + + parameters: + - project-parameter: + project: 'integration' + - integration-branch: + branch: '{branch}' + - integration-bundleurl: + bundleurl: 'last' + - integration-controller-scope: + controller-scope: '{scope}' + - integration-controller-features: + controller-features: 'odl-mdsal-clustering,{install-features}' + - integration-test-options: + test-options: '{robot-options}' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: '{branch}' + + scm: + - integration-patch-scm: + credentials-id: '{ssh-credentials}' + branch: '{branch}' + + wrappers: + - build-timeout + - integration-jclouds-controller-mininet: + controller-vms: 3 + mininet-image: '{mininet-image}' + mininet-vms: '{mininet-vms}' + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '{schedule}' + + builders: + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-get-bundle-vars + - inject: + properties-file: 'bundle_vars.txt' + - integration-deploy-controller + - integration-configure-clustering + - integration-start-cluster-run-test + + publishers: + - integration-robot: + unstable-if: 0.0 + pass-if: 100.0 + - archive: + artifacts: '*karaf.log' + - email-notification: + email-prefix: '[{project}]' + - plot: + - title: '{01-plot-title}' + yaxis: '{01-plot-yaxis}' + group: '{01-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + series: + - file: '{01-plot-data-file}' + inclusion-flag: 'off' + display-table: true + format: csv + - title: '{02-plot-title}' + yaxis: '{02-plot-yaxis}' + group: '{02-plot-group}' + num-builds: '5400' + style: line + use-description: false + csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' series: - file: '{02-plot-data-file}' inclusion-flag: 'off'