+---
- project:
- name: ci-management-jobs
+ name: ci-management-ci-jobs
jobs:
- - 'ci-management-verify-jjb'
- - 'ci-management-merge-jjb'
+ - '{project-name}-ci-jobs'
project: ci-management
- branch: master
+ project-name: ci-management
+ build-node: centos7-builder-4c-4g
+ build-timeout: 30
+ jjb-version: 2.6.0
-- job-template:
- name: ci-management-verify-jjb
-
- project-type: freestyle
- node: jjb
- concurrent: true
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- parameters:
- - project-parameter:
- project: '{project}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- name: '{project}'
- branch: '{branch}'
-
- builders:
- - shell: |
- jenkins-jobs test --recursive -o job_output jjb/
- - ci-management-check-unicode
-
- publishers:
- - archive-artifacts:
- artifacts: 'job_output/*'
-
-- job-template:
- name: 'ci-management-merge-jjb'
-
- project-type: freestyle
- node: jjb
-
- logrotate:
- daysToKeep: 30
- numToKeep: 40
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- parameters:
- - project-parameter:
- project: '{project}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- triggers:
- - gerrit-trigger-patch-merged:
- name: '{project}'
- branch: '{branch}'
-
- builders:
- - shell:
- !include-raw-escape: include-raw-jjb-update.sh
-
-- job-template:
- name: ci-management-verify-zuul
-
- project-type: freestyle
- node: jjb
- concurrent: true
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- scm:
- - zuul-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$ZUUL_REF'
- commit: '$ZUUL_COMMIT'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- builders:
- - shell:
- !include-raw-escape: include-raw-test-zuul.sh
-
-- job-template:
- name: ci-management-merge-zuul
-
- project-type: freestyle
- node: jjb
-
- logrotate:
- daysToKeep: 30
- numToKeep: 40
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- scm:
- - zuul-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- commit: 'origin/$ZUUL_BRANCH'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- builders:
- - shell:
- !include-raw-escape: include-raw-test-zuul.sh
- - shell:
- !include-raw-escape: include-raw-merge-zuul.sh
-
-- job-template:
- name: ci-management-verify-nodepool
-
- project-type: freestyle
- node: np
- concurrent: true
-
- logrotate:
- daysToKeep: 30
- numToKeep: 10
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- scm:
- - zuul-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$ZUUL_REF'
- commit: '$ZUUL_COMMIT'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- builders:
- - shell:
- !include-raw-escape: include-raw-test-nodepool.sh
-
-- job-template:
- name: ci-management-merge-nodepool
-
- project-type: freestyle
- node: np
-
- logrotate:
- daysToKeep: 30
- numToKeep: 40
- artifactDaysToKeep: -1
- artifactNumToKeep: 5
-
- scm:
- - zuul-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- commit: 'origin/$ZUUL_BRANCH'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
-
- builders:
- - shell:
- !include-raw-escape: include-raw-test-nodepool.sh
- - shell:
- !include-raw-escape: include-raw-merge-nodepool.sh
+- project:
+ name: ci-management
+ views:
+ - project-view
+ project-name: ci-management