atlantis
atlantis copied to clipboard
[ post_workflow_hooks] sh: command:: not found
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
I try to run some simple command: echo "Hello world!"
And all goes as expected until post_workflow_hooks, an error is triggered so the pipeline fails.
Reproduction Steps
I'm using the helm-chart values.yaml to deploy atlantis:
...
post_workflow_hooks:
- run: |
echo "Hello world!"
command: plan
...
Logs
Environment details
Additional Context
Your yaml format is wrong. It should be:
post_workflow_hooks:
- run: |
echo "Hello world!"
commands: plan