Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.03 KB

README.rst

File metadata and controls

43 lines (27 loc) · 1.03 KB

https://ci-team.github.io/logo+title_small.png

https://travis-ci.org/ci-team/jimmy.svg?branch=master

Jimmy is a command line tool to manage Jenkins Master configuration, including Jenkins plugin parameters like Gerrit URL for Gerrit Trigger plugin or global credentials.

See ./modules/ directory for full list of supported Jenkins plugins.

How to use

  1. Clone Jimmy repo:

    $ git clone https://github.com/ci-team/jimmy
    
  2. Setup venv:

    $ sudo pip install virtualenv
    $ cd work_folder && virtualenv venv
    $ source venv/bin/activate
    
  3. Install Jimmy:

    $ pip install ./jimmy
    
  4. Create YAML file my_jenkins.yaml with jenkins parameters. Check ./samples/input/jenkins.yaml for example.

  5. Define env (Jenkins instance) in jimmy.yaml:

    envs:
      my_jenkins:
        jenkins_url: http://localhost:8080
        jenkins_config_path: my_jenkins.yaml
    
  6. Run:

    $ jimmy -c jimmy.yaml -e my_jenkins