README.md

# Jenkiexs

![Hex.pm](https://img.shields.io/hexpm/v/jenkiexs)
[![Docs](https://img.shields.io/badge/api-docs-blueviolet.svg?style=flat)](https://hexdocs.pm/jenkiexs)
[![Coverage Status](https://coveralls.io/repos/github/GPrimola/jenkiexs/badge.svg?branch=master)](https://coveralls.io/github/GPrimola/jenkiexs?branch=master)
![CI](https://github.com/GPrimola/jenkiexs/workflows/Jenkiexs%20CI/badge.svg)

[Jenkins](https://www.jenkins.io/) client written in Elixir.

---

### WELCOME HACKTOBERFEST PARTYPEOPLE!! πŸŽ‰πŸŽŠπŸ₯³πŸ‘©πŸΏβ€πŸ’»πŸ‘©πŸΎβ€πŸ’»πŸ‘©πŸ½β€πŸ’»πŸ‘©πŸΌβ€πŸ’»πŸ‘©πŸ»β€πŸ’»πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨πŸ»β€πŸ’»πŸ‘¨πŸΌβ€πŸ’»πŸ‘¨πŸ½β€πŸ’»πŸ‘¨πŸΎβ€πŸ’»πŸ‘¨πŸΏβ€πŸ’»

#### Here are some few things I'd like to ask you beforehand for this event!

##### Basic Code of Conduct

1. Be nice to other people, no matter what, should you interact with anyone.

2. Open **short**, but **meaningful** and **valuable**, **PR**(s). This way is
   easier to review on time. E.g.: Instead of document a whole module, you can
   document just one function, for instance. This goes with the Quality over
   Quantity value from Hacktoberfest.

3. This is a fresh repository which I'm already using in production. I
   apologize for the lack of more information but feel free to interact with me
   through the Issues or [twitter](https://twitter.com/lu_gico) with the
   hashtag #elixirJenkiexs.

#### We appreciate your collaboration! Thank you very much!! πŸ™πŸΏπŸ™πŸΎπŸ™πŸ½πŸ™πŸΌπŸ™πŸ»πŸ™βœ¨

---

## Installation

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

```elixir
def deps do
  [
    {:jenkiexs, "~> 0.9.5"}
  ]
end
```

## Usage

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

```elixir
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.