jenkins-job-builder


Namejenkins-job-builder JSON
Version 6.2.0 PyPI version JSON
download
home_pagehttps://jenkins-job-builder.readthedocs.io/en/latest/
SummaryManage Jenkins jobs with YAML
upload_time2024-03-26 06:46:45
maintainerNone
docs_urlNone
authorOpenStack Infrastructure Team
requires_pythonNone
licenseApache License, Version 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            README
======

Jenkins Job Builder takes simple descriptions of Jenkins_ jobs in YAML_ or JSON_
format and uses them to configure Jenkins. You can keep your job descriptions in
human readable text format in a version control system to make changes and
auditing easier. It also has a flexible template system, so creating many
similarly configured jobs is easy.

To install::

    $ pip install --user jenkins-job-builder

Online documentation:

* https://jenkins-job-builder.readthedocs.io/en/latest/

Developers
----------
Bug report:

* https://storyboard.openstack.org/#!/project/723

Repository:

* https://opendev.org/jjb/jenkins-job-builder

Cloning::

    git clone https://opendev.org/jjb/jenkins-job-builder.git

Install pre-commit from https://pre-commit.com/#intro in order to run some
minimal testing on your commits.

A virtual environment is recommended for development.  For example, Jenkins
Job Builder may be installed from the top level directory::

    $ virtualenv .venv
    $ source .venv/bin/activate
    $ pip install -r test-requirements.txt -e .

Patches are submitted via Gerrit at:

* https://review.opendev.org

Please do not submit GitHub pull requests, they will be automatically closed.

Mailing list:

* https://groups.google.com/forum/#!forum/jenkins-job-builder

IRC:

* ``#openstack-jjb`` on OFTC

More details on how you can contribute is available on our wiki at:

* https://docs.opendev.org/opendev/infra-manual/latest/developers.html

Writing a patch
---------------

We ask that all code submissions be pep8_ and pyflakes_ clean.  The
easiest way to do that is to run tox_ before submitting code for
review in Gerrit.  It will run ``pep8`` and ``pyflakes`` in the same
manner as the automated test suite that will run on proposed
patchsets.

When creating new YAML components, please observe the following style
conventions:

* All YAML identifiers (including component names and arguments)
  should be lower-case and multiple word identifiers should use
  hyphens.  E.g., "build-trigger".
* The Python functions that implement components should have the same
  name as the YAML keyword, but should use underscores instead of
  hyphens. E.g., "build_trigger".

This consistency will help users avoid simple mistakes when writing
YAML, as well as developers when matching YAML components to Python
implementation.

Unit Tests
----------

Unit tests have been included and are in the ``tests`` folder. Many unit
tests samples are included as examples in our documentation to ensure that
examples are kept current with existing behaviour. To run the unit tests,
execute the command::

    tox -e py38

Unit tests could be run in parallel, using pytest-parallel pytest plugin::

    tox -e py38 -- --workers=auto

* Note: View ``tox.ini`` to run tests on other versions of Python,
  generating the documentation and additionally for any special notes
  on running the test to validate documentation external URLs from behind
  proxies.

Installing without setup.py
---------------------------

For YAML support, you will need libyaml_ installed.

Mac OS X::

    $ brew install libyaml

Then install the required python packages using pip_::

    $ sudo pip install PyYAML python-jenkins

.. _Jenkins: https://www.jenkins.io/
.. _YAML: https://yaml.org
.. _JSON: http://json.org/
.. _pep8: https://pypi.org/project/pep8
.. _pyflakes: https://pypi.org/project/pyflakes
.. _tox: https://tox.wiki/en/latest/
.. _libyaml: https://pyyaml.org/wiki/LibYAML
.. _pip: https://pypi.org/project/pip




            

Raw data

            {
    "_id": null,
    "home_page": "https://jenkins-job-builder.readthedocs.io/en/latest/",
    "name": "jenkins-job-builder",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "OpenStack Infrastructure Team",
    "author_email": "jenkins-job-builder@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/cc/28/48099c7d0762b127469f8a7574fb3b5f41a158fb4e41022dcf2b99aeb859/jenkins-job-builder-6.2.0.tar.gz",
    "platform": null,
    "description": "README\n======\n\nJenkins Job Builder takes simple descriptions of Jenkins_ jobs in YAML_ or JSON_\nformat and uses them to configure Jenkins. You can keep your job descriptions in\nhuman readable text format in a version control system to make changes and\nauditing easier. It also has a flexible template system, so creating many\nsimilarly configured jobs is easy.\n\nTo install::\n\n    $ pip install --user jenkins-job-builder\n\nOnline documentation:\n\n* https://jenkins-job-builder.readthedocs.io/en/latest/\n\nDevelopers\n----------\nBug report:\n\n* https://storyboard.openstack.org/#!/project/723\n\nRepository:\n\n* https://opendev.org/jjb/jenkins-job-builder\n\nCloning::\n\n    git clone https://opendev.org/jjb/jenkins-job-builder.git\n\nInstall pre-commit from https://pre-commit.com/#intro in order to run some\nminimal testing on your commits.\n\nA virtual environment is recommended for development.  For example, Jenkins\nJob Builder may be installed from the top level directory::\n\n    $ virtualenv .venv\n    $ source .venv/bin/activate\n    $ pip install -r test-requirements.txt -e .\n\nPatches are submitted via Gerrit at:\n\n* https://review.opendev.org\n\nPlease do not submit GitHub pull requests, they will be automatically closed.\n\nMailing list:\n\n* https://groups.google.com/forum/#!forum/jenkins-job-builder\n\nIRC:\n\n* ``#openstack-jjb`` on OFTC\n\nMore details on how you can contribute is available on our wiki at:\n\n* https://docs.opendev.org/opendev/infra-manual/latest/developers.html\n\nWriting a patch\n---------------\n\nWe ask that all code submissions be pep8_ and pyflakes_ clean.  The\neasiest way to do that is to run tox_ before submitting code for\nreview in Gerrit.  It will run ``pep8`` and ``pyflakes`` in the same\nmanner as the automated test suite that will run on proposed\npatchsets.\n\nWhen creating new YAML components, please observe the following style\nconventions:\n\n* All YAML identifiers (including component names and arguments)\n  should be lower-case and multiple word identifiers should use\n  hyphens.  E.g., \"build-trigger\".\n* The Python functions that implement components should have the same\n  name as the YAML keyword, but should use underscores instead of\n  hyphens. E.g., \"build_trigger\".\n\nThis consistency will help users avoid simple mistakes when writing\nYAML, as well as developers when matching YAML components to Python\nimplementation.\n\nUnit Tests\n----------\n\nUnit tests have been included and are in the ``tests`` folder. Many unit\ntests samples are included as examples in our documentation to ensure that\nexamples are kept current with existing behaviour. To run the unit tests,\nexecute the command::\n\n    tox -e py38\n\nUnit tests could be run in parallel, using pytest-parallel pytest plugin::\n\n    tox -e py38 -- --workers=auto\n\n* Note: View ``tox.ini`` to run tests on other versions of Python,\n  generating the documentation and additionally for any special notes\n  on running the test to validate documentation external URLs from behind\n  proxies.\n\nInstalling without setup.py\n---------------------------\n\nFor YAML support, you will need libyaml_ installed.\n\nMac OS X::\n\n    $ brew install libyaml\n\nThen install the required python packages using pip_::\n\n    $ sudo pip install PyYAML python-jenkins\n\n.. _Jenkins: https://www.jenkins.io/\n.. _YAML: https://yaml.org\n.. _JSON: http://json.org/\n.. _pep8: https://pypi.org/project/pep8\n.. _pyflakes: https://pypi.org/project/pyflakes\n.. _tox: https://tox.wiki/en/latest/\n.. _libyaml: https://pyyaml.org/wiki/LibYAML\n.. _pip: https://pypi.org/project/pip\n\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Manage Jenkins jobs with YAML",
    "version": "6.2.0",
    "project_urls": {
        "Homepage": "https://jenkins-job-builder.readthedocs.io/en/latest/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b3ad7887a1291c8ee055bfaa30510ccdcfaacde0cfd1639380562f0cdc2f2c6",
                "md5": "e699cd11231c71531e53c66a066c6589",
                "sha256": "3545263c7289bcd4a5d41ae13dd7e48cf2f603f9912f10fe0131f44704399c17"
            },
            "downloads": -1,
            "filename": "jenkins_job_builder-6.2.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e699cd11231c71531e53c66a066c6589",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 364776,
            "upload_time": "2024-03-26T06:46:43",
            "upload_time_iso_8601": "2024-03-26T06:46:43.048167Z",
            "url": "https://files.pythonhosted.org/packages/1b/3a/d7887a1291c8ee055bfaa30510ccdcfaacde0cfd1639380562f0cdc2f2c6/jenkins_job_builder-6.2.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc2848099c7d0762b127469f8a7574fb3b5f41a158fb4e41022dcf2b99aeb859",
                "md5": "f031a294bdb13ade286d463a5091dcaa",
                "sha256": "915da0d6a6d2e4bedb12a7cf8a38fad1e2bea5b4dcf1202cfed72da4dbf43c5b"
            },
            "downloads": -1,
            "filename": "jenkins-job-builder-6.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f031a294bdb13ade286d463a5091dcaa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 690902,
            "upload_time": "2024-03-26T06:46:45",
            "upload_time_iso_8601": "2024-03-26T06:46:45.443966Z",
            "url": "https://files.pythonhosted.org/packages/cc/28/48099c7d0762b127469f8a7574fb3b5f41a158fb4e41022dcf2b99aeb859/jenkins-job-builder-6.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-26 06:46:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "jenkins-job-builder"
}
        
Elapsed time: 0.22717s