Skip to content

improbable-eng/taskkill-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Taskkill Buildkite Plugin

A Buildkite plugin that allows running sysinternals handle64.exe prior to checkout, to ensure no files in the checkout directory are locked.

Requires handle64 in the PATH.

Unless a whitelist is specified, kills all processes.

Examples

Kills all processes in BUILDKITE_BUILD_CHECKOUT_PATH

steps:
  plugins:
    # https://github.com/improbable-eng/taskkill-buildkite-plugin
    - improbable-eng/taskkill: ~

Kills all processes in BUILDKITE_BUILD_CHECKOUT_PATH but not notepad.exe and explorer.exe

steps:
  plugins:
    # https://github.com/improbable-eng/taskkill-buildkite-plugin
    - improbable-eng/taskkill:
        whitelist: notepad.exe,explorer.exe