bouwen
v0.2.0
Published
Display a repository build status in your terminal
Downloads
6
Readme
Bouwen
Installation
npm install -g bouwen
What does it do?
It grabs the latest build status from Jenkins, Bamboo or Travis (WIP).
Why is it called bouwen?
Was pasting random words into google translate and it looked pretty cool. Translates to build from Dutch according to Google.
Configuration
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
How do I use it?
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}
It should look something like this
'repository': {
'job': 'http://jenkinsUrl.com/job/projectname'
}
Usage
bouwen -s {CI name} -j {job-url (Optional)} -u {username (Optional)} -p {password (Optional)} -b {branch(Optional)} -d #shows errors
What should I do with it?
I created it to show the build status in my terminal while working on the project.