zuul/tests/fixtures/layout-success-pattern.yaml
Joshua Hesketh d6dbd68ba3 Add extra test for bad url patterns
Report can have parameters from a job substituted into the message.
If a reporter fails for whatever reason it is logged to zuul and
otherwise ignored quietly to the user.

If bad varaibles are attempted to be substituted into a message
log a warning and fallback to the result url for the reporter to
continue.

This was fixed in b7273ef849 so this
change is to just put in an extra test for it.

Change-Id: I521cfbb5873973014c43f9780722d2f80a7c12f0
2016-04-23 10:40:12 +10:00

22 lines
523 B
YAML

pipelines:
- name: check
manager: IndependentPipelineManager
trigger:
gerrit:
- event: patchset-created
success:
smtp:
to: me@example.org
jobs:
- name: docs-draft-test
success-pattern: http://docs-draft.example.org/{build.parameters[LOG_PATH]}/publish-docs/
- name: docs-draft-test2
success-pattern: http://docs-draft.example.org/{NOPE}/{build.parameters[BAD]}/publish-docs/
projects:
- name: org/docs
check:
- docs-draft-test:
- docs-draft-test2