X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fvpp%2Fvpp.yaml;h=3088e9e967e1f4f57a9994d39105f93a3bf9c847;hb=refs%2Fchanges%2F57%2F3057%2F1;hp=00fa8127a7afa07ba8ccc3a709a66e5169b1d8b7;hpb=a1b02762e72f8e9b61337d617bf1c3312539eb93;p=ci-management.git diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 00fa8127a..3088e9e96 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -4,6 +4,8 @@ - 'vpp-verify-{stream}-{os}' - 'vpp-merge-{stream}-{os}' - 'vpp-verify-image-{stream}-{os}' + - 'vpp-docs-merge-{stream}' + - 'vpp-docs-verify-{stream}' project: 'vpp' os: @@ -87,6 +89,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-submitted: @@ -98,6 +102,13 @@ !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}' @@ -130,6 +141,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit: @@ -189,6 +202,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-merged: @@ -211,10 +226,12 @@ 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: '*.rpm,*.deb,*.jar' + artifacts: 'build-root/*.rpm,build-root/*.deb' allow-empty: 'true' fingerprint: false only-if-success: true @@ -252,6 +269,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-submitted: @@ -308,6 +327,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-manually-triggered: @@ -337,3 +358,140 @@ 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: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + 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}' + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + 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 +