support for fast failure

This commit is contained in:
Brad Rydzewski
2019-12-09 15:35:03 -08:00
parent f746e00e7c
commit a4675cb5ca
8 changed files with 15 additions and 142 deletions

View File

@@ -191,7 +191,7 @@ func (c *execCommand) run(*kingpin.ParseContext) error {
Number: len(c.Stage.Steps) + 1,
Name: step.Name,
Status: drone.StatusPending,
ErrIgnore: step.IgnoreErr,
ErrIgnore: step.ErrPolicy == runtime.ErrIgnore,
})
}