{"id":15050081,"url":"https://github.com/wasilak/ansible-lint-junit","last_synced_at":"2025-04-10T02:13:50.452Z","repository":{"id":46984203,"uuid":"85587520","full_name":"wasilak/ansible-lint-junit","owner":"wasilak","description":"ansible-lint to JUnit converter","archived":false,"fork":false,"pushed_at":"2024-10-01T15:18:25.000Z","size":60,"stargazers_count":14,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T02:13:38.120Z","etag":null,"topics":["ansible","junit","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasilak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-20T14:35:02.000Z","updated_at":"2024-10-01T15:20:31.000Z","dependencies_parsed_at":"2023-11-18T13:29:57.960Z","dependency_job_id":"d7b2f91e-6a89-46ef-84b3-3a7faf533562","html_url":"https://github.com/wasilak/ansible-lint-junit","commit_stats":{"total_commits":76,"total_committers":6,"mean_commits":"12.666666666666666","dds":"0.26315789473684215","last_synced_commit":"3c49c265d78d6258b7ea67a8840410ad4b3cad44"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasilak%2Fansible-lint-junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasilak%2Fansible-lint-junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasilak%2Fansible-lint-junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasilak%2Fansible-lint-junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasilak","download_url":"https://codeload.github.com/wasilak/ansible-lint-junit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142902,"owners_count":21054671,"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":["ansible","junit","python"],"created_at":"2024-09-24T21:24:33.369Z","updated_at":"2025-04-10T02:13:50.430Z","avatar_url":"https://github.com/wasilak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/wasilak/ansible-lint-junit.svg?branch=master)](https://travis-ci.org/wasilak/ansible-lint-junit)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/wasilak/ansible-lint-junit.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/wasilak/ansible-lint-junit/alerts/)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/wasilak/ansible-lint-junit.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/wasilak/ansible-lint-junit/context:python)\n[![Maintainability](https://api.codeclimate.com/v1/badges/e50acaa43b7a5f762904/maintainability)](https://codeclimate.com/github/wasilak/ansible-lint-junit/maintainability)\n\nAnsible-lint-junit\n---\n\nThe [ansible-lint](https://github.com/willthames/ansible-lint) to JUnit converter.\n\n### Installation\n\nvia pip:\n\n```shell\npip install ansible-lint-junit\n```\n\n### Updating\n\nvia pip:\n\n```shell\npip install ansible-lint-junit --upgrade\n```\n\n### Usage:\n\n- You can run `ansible-lint` on your playbook(s) and redirect output to pipe\n  ```shell\n  ansible-lint playbook.yml -p --nocolor | ansible-lint-junit -o ansible-lint.xml\n  ```\n- You can use a temporary file to store the output of `ansible-lint`.\n  After that run `ansible-lint-junit` and pass generated file to it\n  ```shell\n  ansible-lint -p --nocolor your_fancy_playbook.yml \u003e ansible-lint.txt\n  ansible-lint-junit ansible-lint.txt -o ansible-lint.xml\n  ```\n\n### Output\n\n- If there are any lint errors, full JUnit XML will be created.\n- If there are no errors, empty JUnit XML will be created, this is for\n  i.e. [Bamboo](https://www.atlassian.com/software/bamboo) JUnit parser plugin compatibility.\\\n  It will break build if XML is missing or incorrect, and there is really no way of generating XML with *\"PASSED\"* tests\n  in case of linter.\n\n### License\n\nThe ansible-lint-junit project is distributed under the [MIT] license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasilak%2Fansible-lint-junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasilak%2Fansible-lint-junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasilak%2Fansible-lint-junit/lists"}