Skip to content

GPrimola/jenkiexs

Repository files navigation

Jenkiexs

CI Coverage Status Docs Hex.pm

Jenkins client written in Elixir.


Installation

Add jenkiexs to your list of dependencies in mix.exs:

def deps do
  [
    {:jenkiexs, "~> 1.0.1"}
  ]
end

Usage

You can export JENKINS_URL, JENKINS_USERNAME and JENKINS_TOKEN env vars; or

config :jenkiexs, :client,
  url: "http://jenkins.url",
  username: "username",
  token: "1a2b3c4d5e6f"

Note: be aware that if you have both set, preference will be for the application configuration, rather than env vars.