- '1804':
branch: 'stable/1804'
repo-stream-part: 'stable.1804'
+ - '1807':
+ branch: 'stable/1807'
+ repo-stream-part: 'stable.1807'
type:
- short
- long
- '1804':
branch: 'stable/1804'
repo-stream-part: 'stable.1804'
+ - '1807':
+ branch: 'stable/1807'
+ repo-stream-part: 'stable.1807'
os: ubuntu1604
- project:
name: vpp-master-only
jobs:
- 'vpp-beta-verify-{stream}-{os}'
+ - 'vpp-beta-merge-{stream}-{os}'
project: 'vpp'
stream:
- master:
branch: 'master'
repo-stream-part: 'master'
+ - '1807':
+ branch: 'stable/1807'
+ repo-stream-part: 'stable.1807'
os:
- ubuntu1804:
repo-os-part: 'ubuntu.bionic.main'
- '1804':
branch: 'stable/1804'
repo-stream-part: 'stable.1804'
+ - '1807':
+ branch: 'stable/1807'
+ repo-stream-part: 'stable.1807'
os:
- ubuntu1604:
repo-os-part: 'ubuntu-arm.xenial.main'
node: '{os}-us'
concurrent: true
triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - patchset-uploaded-event: 'false'
- - comment-added-contains-event:
- comment-contains-value: 'betacheck'
- - comment-added-contains-event:
- comment-contains-value: 'checkstyle_success'
- 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
- override-votes: true
- gerrit-build-notbuilt-verified-value: 0
- notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
+ - gerrit-trigger-checkstyle:
+ name: '{project}'
+ branch: '{branch}'
logrotate:
daysToKeep: '{build-days-to-keep}'
!include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
+ - ../scripts/setup_vpp_dpdk_dev_env.sh
- include-raw-vpp-build.sh
publishers:
- archive:
max-failed-builds: 1
fixed-delay: 90
+- job-template:
+ name: 'vpp-beta-merge-{stream}-{os}'
+
+ project-type: freestyle
+ node: '{os}-us'
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: 100
+ 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}'
+ - maven-project-parameter:
+ maven: 'mvn33-new'
+ - maven-exec:
+ maven-version: 'mvn33-new'
+ - stream-parameter:
+ stream: '{stream}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-merged:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: '.packagecloud'
+ target: '/root'
+ - config-file-provider:
+ files:
+ - file-id: 'packagecloud_api'
+ target: '/root'
+ - maven-target:
+ maven-version: 'mvn33-new'
+ goals: '--version'
+ settings: 'vpp-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - shell:
+ !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/setup_vpp_dpdk_dev_env.sh
+ - include-raw-vpp-build.sh
+ - provide-maven-settings:
+ settings-file: 'vpp-settings'
+ global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape:
+ - ../scripts/packagecloud_push.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/maven_push_functions.sh
+ - include-raw-vpp-maven-push.sh
+
+
+ publishers:
+ - archive:
+ artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+
- job-template:
name: 'vpp-arm-verify-{stream}-{os}'
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
- - naginator:
- rerun-unstable-builds: false
- max-failed-builds: 1
- fixed-delay: 90
- job-template:
name: 'vpp-arm-merge-{stream}-{os}'
default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
- - naginator:
- rerun-unstable-builds: false
- max-failed-builds: 1
- fixed-delay: 90
- job-template:
name: 'vpp-checkstyle-verify-{stream}'
- gerrit:
server-name: 'Primary'
trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'true'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'true'
+ - draft-published-event
- comment-added-contains-event:
comment-contains-value: 'checkstylecheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'docsonly'
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: REG_EXP
+ pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
+ forbidden-file-paths:
+ - compare-type: REG_EXP
+ pattern: .*docs\/.*
+ - compare-type: REG_EXP
+ pattern: .*extras\/emacs\/.*
+ disable-strict-forbidden-file-verification: 'true'
override-votes: true
gerrit-build-notbuilt-verified-value: 0
gerrit-build-successful-verified-value: 1
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
builders:
- - shell:
- !include-raw-escape: include-raw-vpp-checkstyle.sh
- - shell:
- !include-raw-escape: include-raw-vpp-test-checkstyle.sh
- shell:
!include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle-nonvoting:
name: '{project}'
branch: '{branch}'
- shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop'
- inject:
properties-file: variables.prop
- - shell:
- !include-raw-escape:
- - include-raw-vpp-checkstyle.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
server-name: 'Primary'
trigger-on:
- comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-l2'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-ip4'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-ip6'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-lisp'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-vxlan'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-vhost'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-acl'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-memif'
- - comment-added-contains-event:
- comment-contains-value: 'vpp-verify-perf-ipsechw'
+ comment-contains-value: 'perftest'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
project-type: freestyle
node: ubuntu1604-us
- concurrent: true
+ concurrent: false
logrotate:
daysToKeep: '{build-days-to-keep}'
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-trivial-patch-submitted:
+ - gerrit-trigger-checkstyle:
name: '{project}'
branch: '{branch}'
rerun-unstable-builds: false
max-failed-builds: 1
fixed-delay: 90
-
-