diff --git a/hooks/checkout.bat b/hooks/checkout.bat new file mode 100644 index 0000000..06e5a56 --- /dev/null +++ b/hooks/checkout.bat @@ -0,0 +1,2 @@ +@echo off +echo --- Skipping checkout diff --git a/hooks/post-checkout.bat b/hooks/post-checkout.bat new file mode 100644 index 0000000..6960526 --- /dev/null +++ b/hooks/post-checkout.bat @@ -0,0 +1,6 @@ +@echo off + +if defined BUILDKITE_PLUGIN_SKIP_CHECKOUT_CD ( + echo --- Setting checkout directory to %BUILDKITE_PLUGIN_SKIP_CHECKOUT_CD% + set BUILDKITE_BUILD_CHECKOUT_PATH=%BUILDKITE_PLUGIN_SKIP_CHECKOUT_CD% +)