Skip to main content

Update jenkins configuration using YAML

Project description

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 ./plugins/ directory for full list of supported plugins.

How to use

  1. Clone Jimmy repo:

    $ git clone https://review.fuel-infra.org/fuel-infra/jimmy
    $ cd jimmy
    
  2. Setup venv:

    $ sudo pip install virtualenv
    $ cd work_folder && virtualenv venv
    $ source venv/bin/activate
    
  3. Install the required python packages using pip:

    $ pip install -r requirements.txt
    
  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:

    $ python jimmy.py --conf-path jimmy.yaml -e my_jenkins
    

Contacts

Tool is maintained by Fuel Infra team.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jimmy-0.1.0.0.tar.gz (22.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page