Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/improbable-eng/taskkill-buildkite-plugin

Run Sysinternals handle64.exe to find then terminate processes that have files open
https://github.com/improbable-eng/taskkill-buildkite-plugin

buildkite-plugin engineering-velocity

Last synced: 17 days ago
JSON representation

Run Sysinternals handle64.exe to find then terminate processes that have files open

Awesome Lists containing this project

README

        

# 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

```yaml
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`

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