- project: name: kvmfornfv project: '{name}' stream: - master: branch: '{stream}' gs-pathname: '' disabled: false - danube: branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false ##################################### # patch verification phases ##################################### phase: - 'build': slave-label: 'opnfv-build-ubuntu' - 'test': slave-label: 'intel-pod10' ##################################### # patch verification phases ##################################### testname: - 'cyclictest' - 'packet_forward' ##################################### # patch verification phases ##################################### jobs: - 'kvmfornfv-verify-{stream}' - 'kvmfornfv-verify-{phase}-{stream}' - 'kvmfornfv-merge-{stream}' - 'kvmfornfv-daily-{stream}' - 'kvmfornfv-{testname}-daily-{phase}-{stream}' ##################################### # job templates ##################################### - job-template: name: 'kvmfornfv-verify-{stream}' project-type: multijob disabled: '{obj:disabled}' concurrent: true properties: - logrotate-default - throttle: enabled: true max-total: 3 option: 'project' parameters: - project-parameter: project: '{project}' branch: '{branch}' - 'opnfv-build-ubuntu-defaults' triggers: - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - draft-published-event - 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}' disable-strict-forbidden-file-verification: 'true' forbidden-file-paths: - compare-type: ANT pattern: 'docs/**' builders: - description-setter: description: "Built on $NODE_NAME" - multijob: name: build condition: SUCCESSFUL projects: - name: 'kvmfornfv-verify-build-{stream}' current-parameters: false predefined-parameters: | BRANCH=$BRANCH GERRIT_REFSPEC=$GERRIT_REFSPEC GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER node-parameters: false kill-phase-on: FAILURE abort-all-job: true - multijob: name: test condition: SUCCESSFUL projects: - name: 'kvmfornfv-verify-test-{stream}' current-parameters: false predefined-parameters: | BRANCH=$BRANCH GERRIT_REFSPEC=$GERRIT_REFSPEC GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER node-parameters: false kill-phase-on: FAILURE abort-all-job: true - job-template: name: 'kvmfornfv-verify-{phase}-{stream}' disabled: '{obj:disabled}' concurrent: true scm: - git-scm-gerrit wrappers: - ssh-agent-wrapper - timeout: timeout: 360 fail: true parameters: - project-parameter: project: '{project}' branch: '{branch}' - '{slave-label}-defaults' - 'kvmfornfv-defaults': gs-pathname: '{gs-pathname}' - string: name: PHASE default: '{phase}' description: "Execution of kvmfornfv daily '{phase}' job ." builders: - description-setter: description: "Built on $NODE_NAME" - '{project}-verify-{phase}-macro' - job-template: name: 'kvmfornfv-merge-{stream}' disabled: '{obj:disabled}' parameters: - project-parameter: project: '{project}' branch: '{branch}' - 'opnfv-build-ubuntu-defaults' - 'kvmfornfv-defaults': gs-pathname: '{gs-pathname}' scm: - git-scm triggers: - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - change-merged-event - comment-added-contains-event: comment-contains-value: 'remerge' projects: - project-compare-type: 'ANT' project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' builders: - shell: !include-raw: ./kvmfornfv-build.sh - job-template: name: 'kvmfornfv-daily-{stream}' project-type: multijob disabled: '{obj:disabled}' concurrent: false parameters: - project-parameter: project: '{project}' branch: '{branch}' - 'opnfv-build-ubuntu-defaults' - 'kvmfornfv-defaults': gs-pathname: '{gs-pathname}' scm: - git-scm triggers: - timed: '@midnight' builders: - description-setter: description: "Built on $NODE_NAME" - multijob: name: cyclictest-build condition: SUCCESSFUL projects: - name: 'kvmfornfv-cyclictest-daily-build-{stream}' current-parameters: false node-parameters: false git-revision: true kill-phase-on: FAILURE