A daemon to monitor pull requests (PR) from Bitbucket and trigger builds for the PR on Teamcity.
See tests/fixtures/config.json
for an example configuration file.
Run cargo run --release -- path/to/config.json
or cat path/to/config.json | cargo run --release -- -
Alternatively, if you place the configuration file in ./config/config.json
, you can run the daemon in a Docker
container using docker-compose up -d --build
RUSTFLAGS="${RUSTFLAGS:-} -D warnings" cargo test
- Find a way to mock HTTP Requests
- Refactor to better support other CI tools and SCM