+ - name: 'xtesting-opnfv-xtesting-{tag}-pull'
+ <<: *xtesting-jobs
+ - multijob:
+ name: opnfv/xtesting:{tag}
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-first-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-second-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-third-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-fourth-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-fifth-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-sixth-run'
+ <<: *xtesting-jobs
+
+- job-template:
+ name: 'xtesting-{repo}-{container}-{tag}-gate'
+ parameters:
+ - xtesting-slave:
+ slave: '{slave}'
+ scm:
+ - xtesting-scm:
+ ref: $GERRIT_REFSPEC
+ builders:
+ - xtesting-build-containers:
+ <<: *xtesting-build-containers
+ ref: $GERRIT_REFSPEC
+
+- job-template:
+ name: 'xtesting-{repo}-{container}-{tag}-check'
+ parameters:
+ - xtesting-slave:
+ slave: '{slave}'
+ - xtesting-branch:
+ branch: '{branch}'
+ scm:
+ - xtesting-scm:
+ ref: $branch
+ builders:
+ - xtesting-build-containers:
+ <<: *xtesting-build-containers
+ ref: $branch
+
+- project:
+ name: 'xtesting-_-alpine-3.9-rmi'
+ repo: _
+ port:
+ container: alpine
+ tag: 3.9
+ slave: master
+ jobs:
+ - 'xtesting-{repo}-{container}-{tag}-rmi'
+
+- project:
+ name: 'xtesting-_-alpine-3.9-pull'
+ repo: _
+ port:
+ container: alpine
+ tag: 3.9
+ slave: master
+ jobs:
+ - 'xtesting-{repo}-{container}-{tag}-pull'
+
+- project:
+ name: xtesting-opnfv-xtesting-{tag}-build
+ <<: *xtesting-params
+ container: xtesting
+ ref_arg: BRANCH
+ path: docker
+ jobs:
+ - 'xtesting-{repo}-{container}-{tag}-gate'
+ - 'xtesting-{repo}-{container}-{tag}-check'
+
+- job-template:
+ name: 'xtesting-{tag}-check'
+ project-type: multijob
+ parameters:
+ - xtesting-slave:
+ slave: '{slave}'
+ - xtesting-branch:
+ branch: '{branch}'
+ properties:
+ - build-blocker:
+ use-build-blocker: true
+ blocking-level: 'NODE'
+ blocking-jobs:
+ - '^xtesting-{tag}-(daily|check|gate)$'
+ builders:
+ - multijob:
+ name: remove former images
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-rmi'
+ <<: *xtesting-jobs
+ - multijob:
+ name: remove dependencies
+ projects:
+ - name: 'xtesting-_-alpine-3.9-rmi'
+ <<: *xtesting-jobs
+ - multijob:
+ name: pull dependencies
+ projects:
+ - name: 'xtesting-_-alpine-3.9-pull'
+ <<: *xtesting-jobs
+ - multijob:
+ name: opnfv/xtesting
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-check'
+ <<: *xtesting-jobs
+ - multijob:
+ name: opnfv/xtesting:{tag}
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-first-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-second-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-third-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-fourth-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-fifth-run'
+ <<: *xtesting-jobs
+ - name: 'xtesting-opnfv-xtesting-{tag}-sixth-run'
+ <<: *xtesting-jobs
+
+- trigger:
+ name: xtesting-patchset-created
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - patchset-created-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'functest-xtesting'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: false
+ failed: false
+ unstable: false
+ notbuilt: false
+
+- job-template:
+ name: 'xtesting-{tag}-gate'
+ project-type: multijob
+ triggers:
+ - xtesting-patchset-created:
+ branch: '{branch}'
+ parameters:
+ - xtesting-slave:
+ slave: '{slave}'
+ properties:
+ - build-blocker:
+ use-build-blocker: true
+ blocking-level: 'NODE'
+ blocking-jobs:
+ - '^xtesting-{tag}-(daily|check|gate)$'
+ builders:
+ - multijob:
+ name: remove former images
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-rmi'
+ <<: *xtesting-jobs
+ - multijob:
+ name: remove dependencies
+ projects:
+ - name: 'xtesting-_-alpine-3.9-rmi'
+ <<: *xtesting-jobs
+ - multijob:
+ name: pull dependencies
+ projects:
+ - name: 'xtesting-_-alpine-3.9-pull'
+ <<: *xtesting-jobs
+ - multijob:
+ name: opnfv/xtesting
+ projects:
+ - name: 'xtesting-opnfv-xtesting-{tag}-gate'