Agent still running an old post checkout hook command from a plugin

Even though post checkout hook command is changed in the plugin but some agents ran the new command but most of them executed the old hook command.

What would be the likely cause of it.

Hi @farhan, this could most likely be caused by old hooks still available for the agent to execute locally. This can be avoided by forcing a clean checkout on steps using the plugin. You can read more about BUILDKITE_CLEAN_CHECKOUT here.

Let us know if that helps.