{ "info": { "author": "Andre Ferreira", "author_email": "andre.ferreira.v2@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "=============================\nAnsible Lint to jUnit XML\n=============================\n\n.. image:: https://badge.fury.io/py/ansible-lint-to-junit-xml.png\n :target: http://badge.fury.io/py/ansible-lint-to-junit-xml\n\n.. image:: https://travis-ci.org/andreferreirav2/ansible-lint-to-junit-xml.png?branch=master\n :target: https://travis-ci.org/andreferreirav2/ansible-lint-to-junit-xml\n\nConvert ansible-lint outputs to a jUnit valid xml tests result file.\n\nQuickstart\n----------\n\nInstall ``ansible-lint-to-junit-xml`` in your preferred Python env\n\n.. code-block:: bash\n\n pip install ansible-lint-to-junit-xml\n\nRun ``ansible-lint`` on the desired files and pipe to ``ansible-lint-to-junit-xml``\n\n.. code-block:: bash\n\n ansible-lint -q -p | ansible-lint-to-junit-xml > results/ansible-lint-results.xml\n\nAlternatively you can run ``ansible-lint`` separately from ``ansible-lint-to-junit-xml`` and use a file to pass the output\n\n.. code-block:: bash\n\n ansible-lint -q -p > ansible-lint-results.txt\n ansible-lint-to-junit-xml ansible-lint-results.txt > results/ansible-lint-results.xml\n\n\n**Note:** ``ansible-lint`` must run with ``-p`` for the output to be machine parsable\n\nFeatures\n--------\n\n* Pipe output directly from ``ansible-lint`` call\n* Output XML file is compliant with `jenkins junit5 Schema `_.\n* Built using `Nekroze/cookiecutter-pypackage `_\n* This project appeared as an alternative to `wasilak's ansible-lint-junit `_.\n\nExample\n-------------\n\nRunning ``ansible-lint`` on a file results in:\n:: \n\n playbooks/test_playbook.yml:41: [E303] curl used in place of get_url or uri module\n playbooks/tasks/example_task.yml:28: [E601] Don't compare to literal True/False\n\nRunning ``ansible-lint`` and piping the output to ``ansible-lint-to-junit-xml`` looks line this:\n\n.. code-block:: bash\n\n ansible-lint -q -p playbooks/test_playbook.yml | ansible-lint-to-junit-xml\n\nWould result in:\n\n.. code-block:: xml\n\n \n \n \n \n \n ansible-lint error: [E303] curl used in place of get_url or uri module\n ansible-lint error description: [E303] curl used in place of get_url or uri module\n filename: playbooks/test_playbook.yml\n line nr: 41\n \n \n \n \n ansible-lint error: [E601] Don't compare to literal True/False\n ansible-lint error description: [E601] Don't compare to literal True/False\n filename: playbooks/tasks/example_task.yml\n line nr: 28\n \n \n \n \n\n\n\nDocumentation\n-------------\n\nThe full documentation is at http://ansible-lint-to-junit-xml.rtfd.org.\n\n\n\nHistory\n-------\n\n0.1.0 (2019-07-30)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andreferreirav2/ansible-lint-to-junit-xml", "keywords": "ansible,lint,junit,report", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ansible-lint-to-junit-xml", "package_url": "https://pypi.org/project/ansible-lint-to-junit-xml/", "platform": "", "project_url": "https://pypi.org/project/ansible-lint-to-junit-xml/", "project_urls": { "Homepage": "https://github.com/andreferreirav2/ansible-lint-to-junit-xml" }, "release_url": "https://pypi.org/project/ansible-lint-to-junit-xml/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Convert ansible-lint outputs to a jUnit valid xml tests result file", "version": "0.1.0" }, "last_serial": 5613769, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2697c7bcbd5f8fae6e123428655f36c6", "sha256": "cf92aa7c8020e2de0830f38a68db9d63052c47c07432f6193d3372cb25473490" }, "downloads": -1, "filename": "ansible-lint-to-junit-xml-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2697c7bcbd5f8fae6e123428655f36c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5933, "upload_time": "2019-07-31T14:29:42", "url": "https://files.pythonhosted.org/packages/b5/96/95268c22d9d66f9714458b7d300e38554c7278d633924751f5d3b842dc73/ansible-lint-to-junit-xml-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2697c7bcbd5f8fae6e123428655f36c6", "sha256": "cf92aa7c8020e2de0830f38a68db9d63052c47c07432f6193d3372cb25473490" }, "downloads": -1, "filename": "ansible-lint-to-junit-xml-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2697c7bcbd5f8fae6e123428655f36c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5933, "upload_time": "2019-07-31T14:29:42", "url": "https://files.pythonhosted.org/packages/b5/96/95268c22d9d66f9714458b7d300e38554c7278d633924751f5d3b842dc73/ansible-lint-to-junit-xml-0.1.0.tar.gz" } ] }