Merge "Tests: Add test for project including missing job"

This commit is contained in:
Zuul 2023-02-04 18:10:28 +00:00 committed by Gerrit Code Review
commit 2708241aa2
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1 @@
Failed to find suitable template named 'job-2'

View File

@ -0,0 +1,12 @@
# When project includes job which is never declared, it issues an error.
- job-template:
name: job-1
builders:
- shell: echo hi
- project:
name: sample-project
jobs:
- job-1
- job-2