npm install -g bouwen
It grabs the latest build status from Jenkins, Bamboo or Travis (WIP).
Was pasting random words into google translate and it looked pretty cool. Translates to build from Dutch according to Google.
You can store your login details in environment variables. Then you can use bouwen without the login params. The format is {HOSTNAME}_USERNAME && {HOSTNAME}_PASSWORD
$ export travis-ci_USERNAME=user
$ export travis-ci_PASSWORD=p4ssword
$ cd IntoTravisCIProject
$ bouwen
It is a CLI plugin. Just type bouwen from your project root.
Make sure you have added the job url to the 'repository' object in your package.json
Jenkins: http://jenkinsUrl.com/job/projectname
Bamboo: http://bambooUrl.com/rest/api/latest/plan/{PROJECT-KEY}-{BUILD-KEY}/branch
Travis: https://api.travis-ci.org/repositories/{USERNAME}/{REPO-NAME} || {USERNAME}/{REPO-NAME}
It should look something like this
'repository': {
'job': 'http://jenkinsUrl.com/job/projectname'
}
bouwen -s {CI name} -j {job-url (Optional)} -u {username (Optional)} -p {password (Optional)} -b {branch(Optional)} -d #shows errors
# Using travis
$ bouwen -j charliedowler/bouwen
#=> PASSED
$ bouwen -j https://api.travis-ci.org/repositories/charliedowler/bouwen
#=> PASSED
I created it to show the build status in my terminal while working on the project.