Skip to content

charliedowler/bouwen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bouwen NPM version Build Status Dependency Status

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} || {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

Example

# Using travis

$ bouwen -j charliedowler/bouwen

#=> PASSED

$ bouwen -j https://api.travis-ci.org/repositories/charliedowler/bouwen

#=> PASSED

What should I do with it?

I created it to show the build status in my terminal while working on the project.

What it looks like

Terminal example

About

CLI build status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published