🗑 Overrides the git clean flags for a job
Clone or download
toolmantim Merge pull request #8 from buildkite-plugins/renovate/buildkite-docke…
…r-compose-2.x

Update buildkite plugin docker-compose to v2.6.0
Latest commit 16ef9ad Dec 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite Update buildkite plugin docker-compose to v2.6.0 Dec 22, 2018
.github Add Release Drafter Jul 8, 2018
hooks Initial commit Jun 18, 2018
tests Fix flag example Jun 18, 2018
LICENSE Initial commit Jun 18, 2018
README.md Update plugin syntax Nov 28, 2018
docker-compose.yml Update buildkite/plugin-tester:latest Docker digest to ee0d1ad Dec 23, 2018
plugin.yml Fix the pipeline and plugin.yml Jun 18, 2018
renovate.json Initial commit Jun 18, 2018

README.md

Git Clean Buildkite Plugin

A Buildkite plugin for customizing the git clean flags. Helpful if you want to exlude directories from being removed between job runs on the same agent and pipeline.

See the git clean documentation for detailed information about all the flags available, and the git-clean-flags buildkite-agent configuration option.

Example

The following will clean all files between running the job (including those in .gitignore), except for the node_modules directory:

steps:
  - commands:
    - npm install
    - npm test
    plugins:
      - git-clean#v0.0.1:
          flags: "-fdqx --exclude=node_modules"

Configuration

flags (required)

The command line arguments to pass to git clean.

Example: "-fdqx --exclude=node_modules"

License

MIT (see LICENSE)