+++ /dev/null
-# Beryllium build jobs
-
-- project:
- name: autorelease-beryllium
- jobs:
- - 'autorelease-daily-beryllium'
-
- branch: 'master'
- project: 'releng/autorelease'
- jdk: 'openjdk7'
-
-- job-template:
- name: 'autorelease-daily-beryllium'
-
- project-type: maven
- node: dynamic_autorelease
- jdk: '{jdk}'
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - autorelease-release-tag:
- release-tag: 'Daily'
- - autorelease-release-branch:
- release-branch: '{branch}'
- - autorelease-release-datestamp:
- datestamp: true
-
- scm:
- - git:
- credentials-id: '{ssh-credentials}'
- url: '$GIT_BASE'
- refspec: ''
- branches:
- - 'origin/{branch}'
- skip-tag: true
- submodule:
- recursive: true
-
- wrappers:
- - autorelease-build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - timed: 'H 0 * * *'
-
- prebuilders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - autorelease-generate-taglist
- - autorelease-generate-release-patches
-
- maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'clean install -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
- maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- automatic-archiving: false
- post-step-run-condition: UNSTABLE
-
- postbuilders:
- - shell: "./scripts/list-project-dependencies.sh"
- - autorelease-maven-sources:
- maven-version: '{mvn33}'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- - autorelease-maven-sources-post-process
- - autorelease-sys-stats
-
- publishers:
- - archive-artifacts:
- artifacts: '*.log,patches/*.patch'
- - email-notification:
- email-prefix: '[autorelease]'
- project:
name: autorelease-lithium
jobs:
- - 'autorelease-daily-lithium'
- 'autorelease-daily-lithium-jdk8'
- - 'autorelease-release-lithium'
branch: 'stable/lithium'
project: 'releng/autorelease'
jdk: 'openjdk7'
-- job-template:
- name: 'autorelease-daily-lithium'
-
- project-type: maven
- node: dynamic_autorelease
- jdk: '{jdk}'
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - autorelease-release-tag:
- release-tag: 'Daily'
- - autorelease-release-branch:
- release-branch: '{branch}'
- - autorelease-release-datestamp:
- datestamp: true
-
- scm:
- - git:
- credentials-id: '{ssh-credentials}'
- url: '$GIT_BASE'
- refspec: ''
- branches:
- - 'origin/{branch}'
- skip-tag: true
- submodule:
- recursive: true
-
- wrappers:
- - autorelease-build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - timed: 'H 0 * * *'
-
- prebuilders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - autorelease-generate-taglist
- - autorelease-generate-release-patches
-
- maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'clean install -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
- maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- automatic-archiving: false
- post-step-run-condition: UNSTABLE
-
- postbuilders:
- - shell: "./scripts/list-project-dependencies.sh"
- - autorelease-maven-sources:
- maven-version: '{mvn33}'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- - autorelease-maven-sources-post-process
- - autorelease-sys-stats
-
- publishers:
- - archive-artifacts:
- artifacts: '*.log,patches/*.patch'
- - email-notification:
- email-prefix: '[autorelease]'
-
- job-template:
name: 'autorelease-daily-lithium-jdk8'
artifacts: '*.log,patches/*.patch'
- email-notification:
email-prefix: '[autorelease]'
-
-- job-template:
- name: 'autorelease-release-lithium'
-
- project-type: maven
- node: dynamic_autorelease
- jdk: '{jdk}'
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - autorelease-release-tag:
- release-tag: 'Pre-Lithium'
- - autorelease-release-branch:
- release-branch: '{branch}'
- - autorelease-release-datestamp:
- datestamp: false
-
- scm:
- - git:
- credentials-id: '{ssh-credentials}'
- url: '$GIT_BASE'
- refspec: ''
- branches:
- - 'origin/{branch}'
- skip-tag: true
- submodule:
- recursive: true
-
- wrappers:
- - autorelease-build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- prebuilders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - autorelease-generate-taglist
- - autorelease-generate-release-patches
-
- maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'clean install -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
- maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- automatic-archiving: true
- post-step-run-condition: UNSTABLE
-
- postbuilders:
- - autorelease-cfp:
- autorelease-settings: '{autorelease-settings}'
- odl-global-settings: '{odl-global-settings}'
- - autorelease-maven-deploy
- - shell: "./scripts/list-project-dependencies.sh"
- - autorelease-maven-sources:
- maven-version: '{mvn33}'
- settings: '{autorelease-settings}'
- global-settings: '{odl-global-settings}'
- - autorelease-maven-sources-post-process
- - autorelease-sys-stats
-
- publishers:
- - archive-artifacts:
- artifacts: '*.log,patches/*.patch'
- - email-notification:
- email-prefix: '[autorelease]'
--- /dev/null
+- project:
+ name: autorelease-projects
+ jobs:
+ - 'autorelease-daily-{stream}'
+ - 'autorelease-release-{stream}'
+
+ stream:
+ - beryllium:
+ branch: 'master'
+ jdk: 'openjdk7'
+ - lithium:
+ branch: 'stable/lithium'
+ jdk: 'openjdk7'
+
+ project: 'releng/autorelease'
--- /dev/null
+# Autorelease build jobs
+
+- job-template:
+ name: 'autorelease-daily-{stream}'
+
+ project-type: maven
+ node: dynamic_autorelease
+ jdk: '{jdk}'
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - autorelease-release-tag:
+ release-tag: 'Daily'
+ - autorelease-release-branch:
+ release-branch: '{branch}'
+ - autorelease-release-datestamp:
+ datestamp: true
+
+ scm:
+ - git:
+ credentials-id: '{ssh-credentials}'
+ url: '$GIT_BASE'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ submodule:
+ recursive: true
+
+ wrappers:
+ - autorelease-build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - timed: 'H 0 * * *'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+ - jacoco-nojava-workaround
+ - autorelease-generate-taglist
+ - autorelease-generate-release-patches
+
+ maven:
+ maven-name: '{mvn33}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ automatic-archiving: false
+ post-step-run-condition: UNSTABLE
+
+ postbuilders:
+ - shell: "./scripts/list-project-dependencies.sh"
+ - autorelease-maven-sources:
+ maven-version: '{mvn33}'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ - autorelease-maven-sources-post-process
+ - autorelease-sys-stats
+
+ publishers:
+ - archive-artifacts:
+ artifacts: '*.log,patches/*.patch'
+ - email-notification:
+ email-prefix: '[autorelease]'
+
+
+- job-template:
+ name: 'autorelease-release-{stream}'
+
+ project-type: maven
+ node: dynamic_autorelease
+ jdk: '{jdk}'
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - autorelease-release-tag:
+ release-tag: 'Test-{stream}'
+ - autorelease-release-branch:
+ release-branch: '{branch}'
+ - autorelease-release-datestamp:
+ datestamp: false
+
+ scm:
+ - git:
+ credentials-id: '{ssh-credentials}'
+ url: '$GIT_BASE'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ submodule:
+ recursive: true
+
+ wrappers:
+ - autorelease-build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ prebuilders:
+ - wipe-org-opendaylight-repo
+ - jacoco-nojava-workaround
+ - autorelease-generate-taglist
+ - autorelease-generate-release-patches
+
+ maven:
+ maven-name: '{mvn33}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+ maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ automatic-archiving: true
+ post-step-run-condition: UNSTABLE
+
+ postbuilders:
+ - autorelease-cfp:
+ autorelease-settings: '{autorelease-settings}'
+ odl-global-settings: '{odl-global-settings}'
+ - autorelease-maven-deploy
+ - shell: "./scripts/list-project-dependencies.sh"
+ - autorelease-maven-sources:
+ maven-version: '{mvn33}'
+ settings: '{autorelease-settings}'
+ global-settings: '{odl-global-settings}'
+ - autorelease-maven-sources-post-process
+ - autorelease-sys-stats
+
+ publishers:
+ - archive-artifacts:
+ artifacts: '*.log,patches/*.patch'
+ - email-notification:
+ email-prefix: '[autorelease]'
if [ ${BUNDLEURL} == 'last' ]; then
NEXUSPATH="${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf"
# Extract the BUNDLEVERSION from the pom.xml
- export BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
+ export BUNDLEVERSION=`xpath distribution/pom.xml '/project/version/text()' 2> /dev/null`
echo "Bundle version is ${BUNDLEVERSION}"
# Acquire the timestamp information from maven-metadata.xml
wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml
# Extract the BUNDLEVERSION from the pom.xml
-BUNDLEVERSION=`xpath integration/pom.xml '/project/version/text()' 2> /dev/null`
+BUNDLEVERSION=`xpath distribution/pom.xml '/project/version/text()' 2> /dev/null`
echo "Bundle version is ${BUNDLEVERSION}"
BUNDLEURL=${BUILD_URL}org.opendaylight.integration\$distribution-karaf/artifact/org.opendaylight.integration/distribution-karaf/${BUNDLEVERSION}/distribution-karaf-${BUNDLEVERSION}.zip
if [ ${BUNDLEURL} == 'last' ]; then
NEXUSPATH="${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf"
# Extract the BUNDLEVERSION from the pom.xml
- BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
+ BUNDLEVERSION=`xpath distribution/pom.xml '/project/version/text()' 2> /dev/null`
echo "Bundle version is ${BUNDLEVERSION}"
# Acquire the timestamp information from maven-metadata.xml
wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml
jobs:
- '{project}-csit-1node-{functionality}-{install}-{stream}'
- '{project}-csit-3node-{functionality}-{install}-{stream}'
- - '{project}-csit-verify-1node-{functionality}-{stream}'
+ - '{project}-csit-verify-1node-{functionality}'
# The project name
project: 'integration'
- string:
name: BRANCH
default: '{branch}'
- description: 'GIT branch'
+ description: 'Distribution GIT branch'
- parameter:
name: integration-bundleurl
description: 'Integration Patch Refspec'
# Macro: integration-gerrit-scm
-# Operation: this macro downloads a gerrit from any project and uses the project as basedir
+# Operation: this macro downloads a project gerrit and using the project name as basedir
# Used by: integration-patch-test-{stream} job template
- scm:
skip-tag: true
choosing-strategy: 'gerrit'
+# Macro: integration-gerrit-test-scm
+# Operation: this macro downloads an integration/test gerrit using test as basedir
+# Used by: {project}-verify-csit-* job templates
+
+- scm:
+ name: integration-gerrit-test-scm
+ scm:
+ - git:
+ credentials-id: '{credentials-id}'
+ url: '$GIT_BASE'
+ basedir: 'test'
+ refspec: '$GERRIT_REFSPEC'
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ choosing-strategy: 'gerrit'
+
# Macro: integration-distribution-scm
-# Operation: this macro downloads the integration/distribution repo and uses distribution as basedir
+# Operation: this macro downloads the integration/distribution repo using distribution as basedir
# Used by: {project}-csit-* and integration-patch-test-{stream} job templates
- scm:
# Used by: {project}-csit-* job templates
- scm:
- name: integration-patch-scm
+ name: integration-test-scm
scm:
- git:
credentials-id: '{credentials-id}'
+ basedir: 'test'
url: '$GIT_BASE'
refspec: '$PATCHREFSPEC'
branches:
branch-pattern: '**/{branch}'
file-paths:
- compare-type: 'ANT'
- pattern: 'test/csit/suites/{project}/**'
+ pattern: 'csit/suites/{project}/**'
# Macro: integration-csit-gerrit-trigger-patch-submitted
# Operation: this macro sets a trigger for patch submit on test/csit/**
branch-pattern: '**/{branch}'
file-paths:
- compare-type: 'ANT'
- pattern: 'test/csit/**'
+ pattern: 'csit/**'
# Macro: integration-csit-gerrit-trigger-patch-merged
# Operation: this macro sets a trigger for patch merged on test/csit/**
branch-pattern: '**/{branch}'
file-paths:
- compare-type: 'ANT'
- pattern: 'test/csit/**'
+ pattern: 'csit/**'
# Macro: integration-jclouds-controller-mininet
# Operation: this macro will spin the controller and mininet vms
# Job templates in this file (please update with every new template):
-#
-# {project}-csit-verify-{functionality}-{stream}
+#
+# Old templates:
+# {project}-csit-verify-1node-{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-verify-1node-{functionality}
# {project}-csit-1node-{functionality}-{install}-{stream}
# {project}-csit-1node-periodic-{functionality}-{install}-{stream}
-# {project}-csit-verify-3node-{functionality}-{stream}
+# {project}-csit-verify-3node-{functionality}
# {project}-csit-3node-{functionality}-{install}-{stream}
# {project}-csit-3node-periodic-{functionality}-{install}-{stream}
#
+# Parameters:
+#
+# project-parameter: main project integration/test ($PROJECT)
+# integration-distribution-git-url: distribution GIT ($DISTROGITURL)
+# integration-branch: distribution branch ($BRANCH)
+# integration-controller-bundleurl: distribution URL ($BUNDLEURL)
+# integration-controller-scope: only or all features ($CONTROLLERSCOPE)
+# integration-controller-features: features under test ($CONTROLLER FEATURES)
+# integration-test-options: robot options ($TESTOPTIONS)
+# integration-test-plan: robot test plan ($TESTPLAN)
+# integration-patch-refspec: test branch ($PATCHREFSPEC)
+
+
# Old templates
- job-template:
- name: '{project}-csit-verify-{functionality}-{stream}'
+ name: '{project}-csit-verify-1node-{functionality}-{stream}'
project-type: freestyle
node: dynamic_robot
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
- branch: '{branch}'
+ branch: 'master'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
test-plan: '{project}-{functionality}.txt'
scm:
- - gerrit-trigger-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ branch: 'master'
+ - integration-gerrit-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- build-timeout
triggers:
- integration-test-gerrit-trigger-patch-submitted:
- name: 'integration'
- branch: '{branch}'
+ name: 'integration/test'
+ branch: 'master'
project: '{project}'
builders:
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: '{branch}'
+ branch: 'stable/helium'
scm:
- - integration-patch-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
branch: '{branch}'
+ - integration-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'stable/helium'
wrappers:
- build-timeout
display-table: true
format: csv
-- job-template:
- name: '{project}-csit-1node-cds-{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-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- keep-records: true
- 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-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
-
-
-- job-template:
- name: '{project}-csit-periodic-1node-cds-{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:
- - 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-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- keep-records: true
- 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-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
-
-
-- job-template:
- name: '{project}-csit-3node-cds-{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-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- keep-records: true
- 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-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}'
+ name: '{project}-csit-verify-1node-{functionality}'
project-type: freestyle
node: dynamic_robot
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
- branch: '{branch}'
+ branch: 'master'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
test-plan: '{project}-{functionality}.txt'
scm:
- - gerrit-trigger-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ branch: 'master'
+ - integration-gerrit-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- build-timeout
triggers:
- integration-test-gerrit-trigger-patch-submitted:
- name: 'integration'
- branch: '{branch}'
+ name: 'integration/test'
+ branch: 'master'
project: '{project}'
builders:
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: '{branch}'
+ branch: 'master'
scm:
- - integration-patch-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
branch: '{branch}'
+ - integration-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- build-timeout
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: '{branch}'
+ branch: 'master'
scm:
- - integration-patch-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
branch: '{branch}'
+ - integration-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- integration-jclouds-controller-mininet:
format: csv
- job-template:
- name: '{project}-csit-verify-3node-{functionality}-{stream}'
+ name: '{project}-csit-verify-3node-{functionality}'
project-type: freestyle
node: dynamic_robot
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
- branch: '{branch}'
+ branch: 'master'
- integration-bundleurl:
bundleurl: 'last'
- integration-controller-scope:
test-plan: '{project}-{functionality}.txt'
scm:
- - gerrit-trigger-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
+ branch: 'master'
+ - integration-gerrit-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- build-timeout
triggers:
- integration-test-gerrit-trigger-patch-submitted:
- name: 'integration'
- branch: '{branch}'
+ name: 'integration/test'
+ branch: 'master'
project: '{project}'
builders:
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: '{branch}'
+ branch: 'master'
scm:
- - integration-patch-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
branch: '{branch}'
+ - integration-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- build-timeout
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/test'
+ - integration-distribution-git-url
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- integration-patch-refspec:
- branch: '{branch}'
+ branch: 'master'
scm:
- - integration-patch-scm:
+ - integration-distribution-scm:
credentials-id: '{ssh-credentials}'
branch: '{branch}'
+ - integration-test-scm:
+ credentials-id: '{ssh-credentials}'
+ branch: 'master'
wrappers:
- integration-jclouds-controller-mininet: