Jenkins client written in Elixir.
Add jenkiexs
to your list of dependencies in mix.exs
:
def deps do
[
{:jenkiexs, "~> 1.0.1"}
]
end
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.