Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add a bash trigger #5

Open
djmgit opened this issue Dec 4, 2019 · 0 comments
Open

[Feature] Add a bash trigger #5

djmgit opened this issue Dec 4, 2019 · 0 comments
Labels
feature Proposal for a new feature

Comments

@djmgit
Copy link
Collaborator

djmgit commented Dec 4, 2019

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"
@djmgit djmgit added the feature Proposal for a new feature label Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Proposal for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant