Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    digkinspublic

    AeroGear Digger Node.js client

    Build Status License

    AeroGear digger node.js command line client. Create Jenkins job and build your application using Jenkinsfile located in your source code.

    Project Info

    Project Info
    License: Apache License, Version 2.0
    Build: Node
    Documentation: https://github.com/aerogear/digger-jenkins
    Issue tracker: https://issues.jboss.org/browse/AGDIGGER
    Mailing lists: aerogear-users (subscribe)
    aerogear-dev (subscribe)
    IRC: #aerogear channel in the freenode network.

    Installation

    Install command line tool

    npm install -g digkins

    Sample use case

    Login to Jenkins. Your credentials will be stored in configuration.

    digkins login http://myjenkins.com
    

    Create job that would use your repository as source code

    digkins job create my-job https://github.com/android/project master
    

    Trigger build

    digkins job build my-androip-build
    

    Supported commands

      Trigger build for Jenkins job
      digkins job build <jobname>                
    
      Create jenkins job for git repository with Jenkinsfile
      digkins job create <name> [repository] [branch]  
    
      Setup jenkins credentials and login into jenkins 
      digkins login <url> [user] [password] 
    
      Stream jenkins logs for triggered build
      digkins log <job> <buildNumber>       
      
      Get job artifacts for specified build
      digkins artifact <job> <buildNumber>   
    
      Generate bash completion script
      digkins completion                     
    

    Development

    1. Install node.js
    2. Checkout repository
    3. Link library to use directly from source code

    npm link .

    install

    npm i digkins

    Downloadsweekly downloads

    6

    version

    1.0.0

    license

    Apache-2.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar