diff --git a/src/test/resources/examples/invalid-materials.gocd.yaml b/src/test/resources/examples/invalid-materials.gocd.yaml new file mode 100644 index 00000000..36dc5573 --- /dev/null +++ b/src/test/resources/examples/invalid-materials.gocd.yaml @@ -0,0 +1,21 @@ +pipelines: + pipe1: + group: group + materials: + upstream: + pipeline: upstream-pipeline-1 + stage: test1 + stages: # list of stages in order + - build-image: # name of stage + clean_workspace: true + jobs: + build-image: # name of the job + artifacts: + - build: + source: image_ref + tasks: + - exec: # indicates type of task + command: bash + arguments:` + - "-c" + - "docker build"