GithubHelp home page GithubHelp logo

mattddowney / jenk Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 26 KB

Interact with Jenkins via the command line. Written in Go.

Go 100.00%
jenkins continuous-integration api-client command-line cli pipeline golang go

jenk's Introduction

jenk

Interact with Jenkins via the command line. Written in Go. Rewrite of jenk-bash.

Copy jobs, create pipelines, and trigger pipeline inputs.

Setup:

Set the following environment variables:

OR

Create a configuration file named .jenk.yaml in your home directory containing same variables, with the following layout:

JENKINS_ROOT_URL: http://localhost:8080
JENKINS_USER_NAME: username
JENKINS_TOKEN: token_from_jenkins

Usage:

$ ./jenk
A tool for interacting with the Jenkins API.

Usage:
  jenk [command]

Available Commands:
  abort-input   Aborts a pipeline input
  copy-job      Copy a Jenkins job
  create-job    Create a Jenkins job
  env           Print the current environment
  help          Help about any command
  trigger-input Triggers a pipeline input

Flags:
      --config string   config file (default is $HOME/.jenk.yaml)
  -h, --help            help for jenk
  -t, --toggle          Help message for toggle

Use "jenk [command] --help" for more information about a command.

jenk's People

Contributors

mattddowney avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.