+++ /dev/null
-- job-template:
- name: 'PROJECT_SHORTNAME-integration-{stream}'
- disabled: DISABLED
-
- # Job template for ODL integration verify jobs
- #
- # This is similar to a normal verify job, but it runs
- # when a project that's a dependency of your project
- # is successfully built.
- #
- # Required Variables:
- # stream: release stream (eg. stable-lithium or beryllium)
- # branch: git branch (eg. stable/lithium or master)
-
- project-type: maven
- node: dynamic_merge
- 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}'
-
- scm:
- - git-scm:
- refspec: ''
- branch: '{branch}'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - reverse:
- jobs: 'DEPENDENCIES'
- result: 'success'
-
- prebuilders:
- - jacoco-nojava-workaround
- - provide-maven-settings:
- global-settings-file: 'odl-global-settings'
- settings-file: 'JENKINS_SETTINGS'
-
- maven:
- maven-name: '{mvn33}'
- root-pom: 'POM'
- goals: 'MAVEN_GOALS -V -B -Djenkins'
- maven-opts: 'MAVEN_OPTS'
- settings: 'JENKINS_SETTINGS'
- settings-type: cfp
- global-settings: 'odl-global-settings'
- global-settings-type: cfp
-
- reporters:
- - findbugs
-
- publishers:
- - email-notification:
- email-prefix: 'EMAIL_PREFIX'
- - jacoco-report
- - archive-build:
- maven-version: '{mvn33}'
- '{name}-clm-{stream}'
- '{name}-distribution-{stream}'
- '{name}-distribution-check-{stream}'
+ - '{name}-integration-{stream}'
- '{name}-validate-autorelease-{stream}'
JOB_TEMPLATES
STREAMS
project: 'PROJECT_PATH'
mvn-settings: 'JENKINS_SETTINGS'
+ mvn-goals: 'MAVEN_GOALS'
+ mvn-opts: 'MAVEN_OPTS'
+ dependencies: 'DEPENDENCIES'
+ email-upstream: 'EMAIL_PREFIX'
# For the Job templates below replace instances of:
# PROJECT_SHORTNAME with your project name (eg. circuitsw)
jdks: openjdk7,openjdk8
autorelease: true
DEPENDENCIES: controller,neutron,odlparent,openflowjava,openflowplugin,ovsdb,sfc,yangtools
-JOB_TEMPLATES: verify,merge,periodic,integration
+JOB_TEMPLATES: verify,merge,periodic
jdks: openjdk7
distribution-check: false
DEPENDENCIES: odlparent,controller,yangtools
-JOB_TEMPLATES: verify,merge,periodic,integration
+JOB_TEMPLATES: verify,merge,periodic
- archive-build:
maven-version: '{mvn33}'
+- job-template:
+ name: '{name}-integration-{stream}'
+
+ # Job template for ODL integration verify jobs
+ #
+ # This is similar to a normal verify job, but it runs
+ # when a project that's a dependency of your project
+ # is successfully built.
+ #
+ # Required Variables:
+ # stream: release stream (eg. stable-lithium or beryllium)
+ # branch: git branch (eg. stable/lithium or master)
+
+ project-type: maven
+ node: dynamic_merge
+ 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}'
+
+ scm:
+ - git-scm:
+ refspec: ''
+ branch: '{branch}'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - reverse:
+ jobs: '{dependencies}'
+ result: 'success'
+
+ prebuilders:
+ - jacoco-nojava-workaround
+ - provide-maven-settings:
+ global-settings-file: 'odl-global-settings'
+ settings-file: '{mvn-settings}'
+
+ maven:
+ maven-name: '{mvn33}'
+ goals: '{mvn-goals} -V -B -Djenkins'
+ maven-opts: '{mvn-opts}'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
+
+ reporters:
+ - findbugs
+
+ publishers:
+ - email-notification:
+ email-prefix: '{email-upstream}'
+ - jacoco-report
+ - archive-build:
+ maven-version: '{mvn33}'
+
- job-template:
name: '{name}-validate-autorelease-{stream}'
disabled: '{obj:disable_autorelease}'
jdks: openjdk7,openjdk8
distribution-check: false
DEPENDENCIES: odlparent
-JOB_TEMPLATES: merge,periodic,integration,sonar
+JOB_TEMPLATES: merge,periodic,sonar
templates = cfg.get("JOB_TEMPLATES")
else:
templates = (
- "verify,merge,periodic,integration,"
+ "verify,merge,periodic,"
"sonar")
##################