- project:
name: vpp
jobs:
- - 'vpp-verify'
- - 'vpp-merge'
+ - 'vpp-verify-{stream}-{os}'
+ - 'vpp-merge-{stream}-{os}'
+ - 'vpp-verify-image-{stream}-{os}'
+ - 'vpp-docs-merge-{stream}'
project: 'vpp'
- branch: 'master'
+ os:
+ - ubuntu1404:
+ repo-os-part: 'ubuntu.trusty.main'
+ - ubuntu1604:
+ repo-os-part: 'ubuntu.xenial.main'
+ - centos7:
+ repo-os-part: 'centos7'
+ stream:
+ - master:
+ branch: 'master'
+ repo-stream-part: 'master'
+ - test:
+ branch: 'stable/test'
+ repo-stream-part: 'stable.test'
+ - '1606':
+ branch: 'stable/1606'
+ repo-stream-part: 'stable.1606'
+ - '1609':
+ branch: 'stable/1609'
+ repo-stream-part: 'stable.1609'
+ type:
+ - short
+ - long
+
+- project:
+ name: vpp-misc
+ jobs:
+ - 'vpp-csit-verify-virl-{stream}'
+ - 'vpp-csit-verify-hw-perf-{stream}-{type}'
+ project: 'vpp'
+ stream:
+ - master:
+ branch: 'master'
+ repo-stream-part: 'master'
+ - test:
+ branch: 'stable/test'
+ repo-stream-part: 'stable.test'
+ - '1606':
+ branch: 'stable/1606'
+ repo-stream-part: 'stable.1606'
+ - '1609':
+ branch: 'stable/1609'
+ repo-stream-part: 'stable.1609'
+
+ os: ubuntu1404
+ type:
+ - all
+ - short
+ - long
- job-template:
- name: vpp-verify
+ name: 'vpp-verify-{stream}-{os}'
project-type: freestyle
- node: verify
+ node: 'verify-{os}'
concurrent: true
logrotate:
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
scm:
- gerrit-trigger-scm:
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit-trigger-patch-submitted:
builders:
- shell:
- !include-raw-escape include-raw-vpp-build.sh
-
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-build.sh
publishers:
- - archive-artifacts:
- artifacts: 'build-root/**'
+ - archive:
+ artifacts: 'build-root/*.rpm,build-root/*.deb'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+
+- job-template:
+ name: 'vpp-verify-image-{stream}-{os}'
+
+ project-type: freestyle
+ node: 'verify-image-{os}'
+ concurrent: true
+
+ 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}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit:
+ server-name: 'Primary'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'verify-images'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
+ builders:
+ - shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-build.sh
- job-template:
- name: vpp-merge
+ name: 'vpp-merge-{stream}-{os}'
project-type: freestyle
- node: merge
+ node: 'merge-{os}'
logrotate:
daysToKeep: '{build-days-to-keep}'
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
- maven-project-parameter:
maven: '{mvn33}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
scm:
- gerrit-trigger-scm:
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- gerrit-trigger-patch-merged:
builders:
- shell:
- !include-raw-escape include-raw-vpp-build.sh
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-build.sh
- maven-target:
maven-version: '{mvn33}'
goals: '--version'
- settings: '{vpp-settings}'
- global-settings: '{global-settings}'
+ settings: 'vpp-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
- provide-maven-settings:
- settings-file: '{vpp-settings}'
- global-settings-file: '{global-settings}'
+ settings-file: 'vpp-settings'
+ global-settings-file: 'global-settings'
- shell:
- !include-raw-escape include-raw-vpp-maven-push.sh
+ !include-raw-escape:
+ - ../scripts/maven_push_functions.sh
+ - include-raw-vpp-maven-push.sh
+ publishers:
+ - archive:
+ artifacts: 'build-root/*.rpm,build-root/*.deb'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+
+- job-template:
+ name: 'vpp-csit-verify-virl-{stream}'
+
+ project-type: freestyle
+ node: 'verify-{os}'
+ concurrent: true
+
+ 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}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - timestamps
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-raw-vpp-checkstyle.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-csit-functional.sh
publishers:
- archive-artifacts:
- artifacts: 'build-root/**'
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: 'csit'
+
+- job-template:
+ name: 'vpp-csit-verify-hw-perf-{stream}-{type}'
+
+ project-type: freestyle
+ node: 'verify-{os}'
+ concurrent: false
+
+ 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}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+ - type-parameter:
+ type: '{type}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - timestamps
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-manually-triggered:
+ comment-trigger-value: 'verify-perf-{type}'
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape: include-raw-vpp-csit-verify-perf.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
+ latest-only: false
+
+ - robot-report:
+ output-path: 'csit'
+
+- parameter:
+ name: type-parameter
+
+ parameters:
+ - string:
+ name: TYPE
+ default: '{type}'
+ description: "TYPE parameter if not given by trigger"
+
+- job-template:
+ name: 'vpp-docs-verify-{stream}'
+
+ project-type: freestyle
+ node: 'verify-ubuntu1604'
+ concurrent: true
+
+ 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}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: 'ubuntu1604'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - maven-target:
+ maven-version: '{mvn33}'
+ goals: '--version'
+ settings: 'vpp-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - provide-maven-settings:
+ settings-file: 'vpp-settings'
+ global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape: include-raw-vpp-docs.sh
+ publishers:
+ - archive:
+ artifacts: 'build-root/docs/html/*'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+
+- job-template:
+ name: 'vpp-docs-merge-{stream}'
+
+ project-type: freestyle
+ node: 'verify-ubuntu1604'
+ concurrent: true
+
+ 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}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: 'ubuntu1604'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - reverse:
+ jobs: 'vpp-merge-{stream}-ubuntu1404'
+ result: 'success'
+ - gerrit:
+ server-name: 'Primary'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'run-docs'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
+ builders:
+ - maven-target:
+ maven-version: '{mvn33}'
+ goals: '--version'
+ settings: 'vpp-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - provide-maven-settings:
+ settings-file: 'vpp-settings'
+ global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape: include-raw-vpp-docs.sh
+ publishers:
+ - archive:
+ artifacts: 'build-root/docs/html/*'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+