Skip to content

[Feature] Add a bash trigger #5

Open
@djmgit

Description

@djmgit

There should be a bash trigger for Saberx. The trigger will basically fire a user command and depending on the output of the command or the exit code of the command, the trigger will get fired and action will be taken.

The command can also be a user written script. The following can be a prospective template for the trigger.

trigger:
      type: BASH_TRIGGER
      check: "command to be executed"
      response: "expected response"
      exitcode: "expected exit code"
    execute:
    - "some action"

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProposal for a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions