woodpecker/pipeline/samples/sample_4/pipeline.yml

22 lines
354 B
YAML
Raw Normal View History

2019-04-06 13:44:04 +00:00
workspace:
base: /go
path: src/github.com/drone/envsubst
clone:
git:
image: plugins/git
depth: 50
pipeline:
build:
image: golang:1.7
commands:
- echo this step should fail
- exit 1
test:
image: golang:1.7
commands:
- echo this step should execute, despite failure
when:
status: [ failure ]