Skip to content

exit on error #8

@agsmorodin

Description

@agsmorodin

Is it possible to interrupt the script execution if something went wrong?
I can achieve it by using 'set -e' at the begging of the script, but in this case I need to set this flag for all my scripts. Is there any way to setup it globally? or to pass to /bin/sh specific flag from gocd?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions