I’m trying the most simple pipeline of all times and yet I get the above error. Here I’m trying to determine if the env elements apply to my command or not?
2022-08-22 18:34:39 INFO Updating BUILDKITE_COMMIT to "982cd7ee979b40238d3b7f43ff9cb4981b164365"
Command '' was not defined in any pipeline files, refusing to run
Error: The global pre-command hook exited with status 1
This is just a mistake between the plural commands which takes a map vs the singular command which takes a single argument. See the distinction in the docs: Command Step | Buildkite Documentation.