Metadata-Version: 2.1
Name: awx-junit
Version: 1.1
Summary: A Ansible Tower or AWX utility to generate a JUnit XML report from a job.
Home-page: https://github.com/thushjandan/awx-junit
Author: Thushjandan Ponnudurai
Author-email: thushjandan@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Testing
Description-Content-Type: text/markdown
Requires-Dist: junit-xml

![Build status](https://github.com/thushjandan/awx-junit/actions/workflows/python-test.yml/badge.svg?branch=main)
[![PyPI version](https://badge.fury.io/py/awx-junit.svg)](https://badge.fury.io/py/awx-junit)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/awx-junit?style=flati)
![PyPI - License](https://img.shields.io/pypi/l/awx-junit)
![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pypi/awx-junit)

# awx-junit
> A command utility to generate a JUnit XML report from an Ansible Tower or AWX Job.

## Installation
Install awx-junit with pip.
```sh
pip install awx-junit
```

## Usage Example
Use the AWX cli (awxkit) to get job events of a certain job from an Ansible Tower or AWX instance. Pipe the resulting JSON output from awxcli to awx-junit utility
```sh
awx job_events list --job <job_id> --all | awx-junit
```


