fe707d1599
This is a variant on the bug fixed in I2d5cc8f4c5b73d6a2b184cd21016943b8c08949d. This corrects the case where a job is removed from a project and there is a current failed build of that job for that project in the queue, yet, unlike the case in the other bugfix, this job still exists elsewhere in the system. Now we verify that a job exists at all, and also that it is still supposed to be run for the change in question when deciding whether to keep it in the build-set for the change. Change-Id: I0829d42612e7e74d789c60d0570e5bdf9ec47937
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
pipelines:
|
|
- name: check
|
|
manager: IndependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: patchset-created
|
|
success:
|
|
gerrit:
|
|
verified: 1
|
|
failure:
|
|
gerrit:
|
|
verified: -1
|
|
|
|
- name: gate
|
|
manager: DependentPipelineManager
|
|
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
|
|
trigger:
|
|
gerrit:
|
|
- event: comment-added
|
|
approval:
|
|
- approved: 1
|
|
success:
|
|
gerrit:
|
|
verified: 2
|
|
submit: true
|
|
failure:
|
|
gerrit:
|
|
verified: -2
|
|
start:
|
|
gerrit:
|
|
verified: 0
|
|
precedence: high
|
|
|
|
jobs:
|
|
- name: ^.*-merge$
|
|
failure-message: Unable to merge change
|
|
hold-following-changes: true
|
|
- name: project1-project2-integration
|
|
queue-name: integration
|
|
|
|
projects:
|
|
- name: org/project1
|
|
check:
|
|
- project1-merge:
|
|
- project1-test1
|
|
- project1-test2
|
|
gate:
|
|
- project1-merge:
|
|
- project1-test1
|
|
- project1-test2
|
|
|
|
- name: org/project2
|
|
check:
|
|
- project2-merge:
|
|
- project2-test1
|
|
- project2-test2
|
|
- project1-project2-integration
|
|
gate:
|
|
- project2-merge:
|
|
- project2-test1
|
|
- project2-test2
|
|
- project1-project2-integration
|