Skip to content

pdincau/ex_jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExJenkins

Hex.pm

Your Jenkins client written in elixir

ExJenkins is client to consume the Jenkins API.

Installation

def deps do
  [{:ex_jenkins, "~> 0.1.2"}]
end

In your configuration file add something similar to:

config :ex_jenkins,
  host: "localhost",
  protocol: "http", # http or https.  Default is http
  port: "8080",
  username: "username",
  password: "password",
  token: "mytoken"

You must as well start ex_jenkins in your application list:

applications: [:ex_jenkins]

List of Jenkins API you can consume with ExJenkins

With ExJenkins you can consume the following Jenkins endpoints:

  • Jenkins: allows you to restart, or toggle quiet mode in your Jenkins installation
  • Jobs: you can execute several operations on your jobs (e.g. you can create, start, stop, get status etc)
  • Queues: you can retrieve information on your Jenkins queue
  • Folders: you can create and delete folders
  • Crumb: you can request a Jenkins crumb

If you want to know more on using ExJenkins you may read the online documentation.

You can also build the docs on your machine with:

mix docs

About

Your Jenkins client written in elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages