X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fvpp%2Fvpp.yaml;h=ff131b2f7481d2a8f7d6b2c3da88b2b0832770f0;hb=f25093d5a40a5e16b4f559bb3804c25ee8620c72;hp=bdaaa12a160e847ea7748736bf1ad0707f1433e4;hpb=233f45d3fc425cde64c2615c2f36025f61374451;p=ci-management.git diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index bdaaa12a1..ff131b2f7 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -4,6 +4,7 @@ - 'vpp-verify-{stream}-{os}' - 'vpp-merge-{stream}-{os}' - 'vpp-verify-image-{stream}-{os}' + - 'vpp-docs-merge-{stream}' project: 'vpp' os: @@ -23,6 +24,9 @@ - '1606': branch: 'stable/1606' repo-stream-part: 'stable.1606' + - '1609': + branch: 'stable/1609' + repo-stream-part: 'stable.1609' type: - short - long @@ -43,6 +47,10 @@ - '1606': branch: 'stable/1606' repo-stream-part: 'stable.1606' + - '1609': + branch: 'stable/1609' + repo-stream-part: 'stable.1609' + os: ubuntu1404 type: - all @@ -77,10 +85,11 @@ choosing-strategy: 'gerrit' wrappers: - - timestamps - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-submitted: @@ -88,8 +97,17 @@ branch: '{branch}' builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.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-verify-image-{stream}-{os}' @@ -122,6 +140,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit: @@ -142,6 +162,8 @@ notbuilt: true builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.sh @@ -179,6 +201,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-merged: @@ -186,6 +210,8 @@ branch: '{branch}' builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.sh - maven-target: @@ -199,7 +225,16 @@ 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}' @@ -229,9 +264,12 @@ choosing-strategy: 'gerrit' wrappers: + - timestamps - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-submitted: @@ -239,6 +277,8 @@ branch: '{branch}' builders: + - shell: + !include-raw-escape: include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: include-raw-vpp-build.sh - shell: @@ -282,9 +322,12 @@ choosing-strategy: 'gerrit' wrappers: + - timestamps - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: @@ -314,3 +357,136 @@ 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 +