Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.04 KB

readme.md

File metadata and controls

49 lines (34 loc) · 1.04 KB

Wercker build status

About

This is a simple tool to make getting the status of the last running build easy.

installing

for now, just clone the repo and do:

cargo build --release

you will need to have installed rust first, you can easily do this using rustup:

curl https://sh.rustup.rs -sSf | sh && rustup install stable

The binary will be in the ./target/release folder which you can copy and move to more usable location.

Config

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.toml

an example config file can be found in this repo's root dir.

envs

The tool can also pull info from the environment variables as well, just prefix the config options with WERCKER_ and capitalize the key name.

output

The output of the tool is like this:

status|result

examples being:

  • running
  • passed
  • failed