Tests: Add test for project including missing job

Change-Id: I37aa76b4de4031f8302faf2848a6bb3dd186df30
This commit is contained in:
Vsevolod Fedorov 2023-01-12 10:43:23 +03:00
parent 5e5eee86c3
commit c1a67471e8
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