{"id":14984624,"url":"https://github.com/kmmbvnr/django-jenkins","last_synced_at":"2025-05-15T00:06:48.284Z","repository":{"id":963231,"uuid":"753048","full_name":"kmmbvnr/django-jenkins","owner":"kmmbvnr","description":"Plug and play continuous integration with django and jenkins","archived":false,"fork":false,"pushed_at":"2022-03-29T15:06:39.000Z","size":501,"stargazers_count":943,"open_issues_count":19,"forks_count":277,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-13T19:39:16.966Z","etag":null,"topics":["django","jenkins","jenkins-ci","test","testing","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmmbvnr.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-02T08:55:14.000Z","updated_at":"2025-03-07T02:40:39.000Z","dependencies_parsed_at":"2022-08-16T11:40:08.068Z","dependency_job_id":null,"html_url":"https://github.com/kmmbvnr/django-jenkins","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-jenkins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-jenkins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-jenkins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmmbvnr%2Fdjango-jenkins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmmbvnr","download_url":"https://codeload.github.com/kmmbvnr/django-jenkins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249198,"owners_count":22039029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","jenkins","jenkins-ci","test","testing","unit-testing"],"created_at":"2024-09-24T14:09:23.206Z","updated_at":"2025-05-15T00:06:48.182Z","avatar_url":"https://github.com/kmmbvnr.png","language":"Python","funding_links":[],"categories":["Testing","Python","测试"],"sub_categories":[],"readme":"django-jenkins\n==============\n\nPlug and play continuous integration with Django and Jenkins\n\n.. image:: https://img.shields.io/pypi/v/django-jenkins.svg\n    :target: https://pypi.python.org/pypi/django-jenkins\n\n.. image:: https://requires.io/github/kmmbvnr/django-jenkins/requirements.png?branch=master\n   :target: https://requires.io/github/kmmbvnr/django-jenkins/requirements/?branch=master\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n        :target: https://gitter.im/kmmbvnr/django-jenkins?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n\nInstallation\n------------\n\nFrom PyPI::\n\n    $ pip install django-jenkins\n\nOr by downloading the source and running::\n\n    $ python setup.py install\n\nLatest git version::\n\n    $ pip install -e git+git://github.com/kmmbvnr/django-jenkins.git#egg=django-jenkins\n    $ pip install coverage\n\nInstallation for Python 3::\n\n    Works out of the box\n\nUsage\n-----\n\nAdd ``'django_jenkins'`` to your ``INSTALLED_APPS`` list.\nConfigure Jenkins to run the following command::\n\n    $ ./manage.py jenkins --enable-coverage\n\nThis will create reports/ directory with junit xml, Coverage and Pylint\nreports.\n\nFor more details see the generic tutorial: https://sites.google.com/site/kmmbvnr/home/django-jenkins-tutorial\n\nSettings\n--------\n\n- ``PROJECT_APPS``\n\n  If present, it is supposed to be a list/tuple of django apps for Jenkins to run.\n  Tests, reports, and coverage are generated only for the apps from this list.\n\n- ``JENKINS_TASKS``\n\n  List of Jenkins reporters executed by ``./manage.py jenkins`` command.\n\n  Default value::\n\n    JENKINS_TASKS = ()\n\n- ``JENKINS_TEST_RUNNER``\n\n  The name of the class to use for starting the test suite for ``jenkins`` command.\n  Class should be inherited from\n  ``django_jenkins.runner.CITestSuiteRunner``\n\n\nReporters\n---------\n\nHere is the reporters prebuild with django-jenkins\n\n- ``django_jenkins.tasks.run_pylint``\n\n  Runs Pylint_ over selected Django apps.\n\n  Task-specific settings: ``PYLINT_RCFILE``\n\n.. _Pylint: http://www.logilab.org/project/pylint\n\n- ``django_jenkins.tasks.run_pep8``\n\n  Runs pep8 tool over selected Django apps.\n  Creates Pylint compatible report for Jenkins\n\n  You should have pep8_ python package (\u003e=1.3) installed to run this task.\n\n  Task-specific settings: ``PEP8_RCFILE``\n\n.. _pep8: http://pypi.python.org/pypi/pep8\n\n- ``django_jenkins.tasks.run_pyflakes``\n\n  Runs Pyflakes tool over selected Django apps.\n  Creates Pylint compatible report for Jenkins.\n\n  You should have Pyflakes_ python package installed to run this task.\n\n.. _Pyflakes: http://pypi.python.org/pypi/pyflakes\n\n- ``django_jenkins.tasks.run_flake8``\n\n  Runs flake8 tool over selected Django apps.\n  Creates pep8 compatible report for Jenkins.\n\n  You should have flake8_ python package installed to run this task.\n\n.. _flake8: http://pypi.python.org/pypi/flake8\n\n\nChangelog\n---------\n\nGIT Version\n~~~~~~~~~~~~~~~~~~\n\n* csslint/jshint/sccsLint/sloccount task removed (could be used as standalone tools)\n\n\nContribution guide\n~~~~~~~~~~~~~~~~~~\n\n* Set up local jenkins\n* Set up django-jenkins::\n\n    npm install jshint\n    npm install csslint\n    PATH=$PATH:$WORKSPACE/node_modules/.bin\n    tox\n\n* Ensure that everything works\n* Modify the *the only one thing*\n* Ensure that everything works again\n* Fix pep8/pyflakes errors and minimize pylint's warnings\n* Pull request!\n\nAuthors\n-------\nCreated and maintained by Mikhail Podgurskiy \u003ckmmbvnr@gmail.com\u003e\n\nContributors: https://github.com/kmmbvnr/django-jenkins/graphs/contributors\n\nSpecial thanks, for all github forks authors for project extensions ideas and problem identifications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmmbvnr%2Fdjango-jenkins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmmbvnr%2Fdjango-jenkins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmmbvnr%2Fdjango-jenkins/lists"}