Skip to content

codeyourinfra/jenkins

Repository files navigation

jenkins

License: MIT GitHub release Build status Ansible Role Ansible Role downloads

Ansible role to install Jenkins.

Example Playbook

---
- hosts: servers
  roles:
    - codeyourinfra.jenkins

Dependencies

The role is dependent of Codeyourinfra's Java 8 Ansible role, once we need Java to run Jenkins. Java is so installed before the Jenkins installation.

Build process

The build process is performed by Travis CI. During the build, Molecule is used to test the role.

Test yourself

First of all, create your Python virtual environment and activate it:

python -m venv env && source env/bin/activate

After that, install all requirements:

pip install wheel && pip install -r requirements.txt

Finally, execute the test:

molecule test

Author Information

@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)