Skip to content

Conversation

@toote
Copy link
Contributor

@toote toote commented Sep 23, 2022

Based on previous discussions (#59, #186 and #312), this plugin does not support step-level commands defined as an array. We just receive a multi-line string in the BUILDKITE_COMMAND variable but there is no way to identify it is because a single command with newlines (like we test in the pipeline) or an actual array to be able to manipulate the string and do what we are supposed to do (like what the agent does: creates a script enclosing the whole command and runs that script instead).

So the only possible alternative is to add a warning to the documentation and output for people to be aware of the existing limitation 🤷

Closes #312

@toote toote added the bug label Sep 23, 2022
@toote toote requested a review from pzeballos September 23, 2022 20:06
Copy link
Contributor

@pzeballos pzeballos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the warning :P

@pzeballos pzeballos merged commit 0d1f977 into master Sep 23, 2022
@pzeballos pzeballos deleted the toote_issue-312 branch September 23, 2022 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exit 1 Even though commands passed

3 participants