National Pizza Magistrate

    bouwen

    0.2.0 • Public • Published

    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}

    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.

    What it looks like

    Terminal example

    Keywords

    Install

    npm i bouwen

    DownloadsWeekly Downloads

    18

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • charliedowler