Closed MathisWellmann closed 4 months ago
Hey @MathisWellmann
We have recently became aware of this as an issue that's more related to the obscure error messages from the Agent than the Plugin itself.
The Plugin hooks themselves are run as scripts and the shebang used for the scripts in the Docker Compose plugin is #!/bin/bash
. As you are using NixOS I believe the path to bash
is different and results in the errors you are seeing.
This error being seen is raised from the Agent here: https://github.com/buildkite/agent/blob/81a3b1402613c527c1671e7ad6c15b2b96f03c2c/internal/job/executor.go#L399-L423
As our Agent repository is Public, coud I ask you to raise the issue here for increased visibility? https://github.com/buildkite/agent/issues
Thanks for the useful response.
Will open an issue in the other repo as well.
I believe I can come up with a solution knowing this :+1:
Feel free to close this Issue here as its more related to the buildkite-agent
.
Thank you very much, if there is anything else we can do let us know! 🙇
I'm trying to use this plugin in my pipeline as such:
Which is executed by the agent on a
nixos
host, which successfully runs all my other pipelines, but this setup fails to run with the following message.What could cause this failure?