This is a simple tool to make getting the status of the last running build easy.
for now, just clone the repo and do:
cargo build --releaseyou will need to have installed rust first, you can easily do this using rustup:
curl https://sh.rustup.rs -sSf | sh && rustup install stableThe binary will be in the ./target/release folder which you can copy and move to more usable location.
To configure the tool create a config file config.toml and then pass the
file to the tool like this (file relative to current directory):
wercker_build_status config
wercker_build_status config.toml
wercker_build_status ./config.tomlan example config file can be found in this repo's root dir.
The tool can also pull info from the environment variables as well, just prefix
the config options with WERCKER_ and capitalize the key name.
The output of the tool is like this:
status|result
examples being:
runningpassedfailed