New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ansible-lint-junit

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansible-lint-junit

ansible-lint to JUnit converter.

  • 0.17.8
  • PyPI
  • Socket score

Maintainers
1

Build Status Total alerts Language grade: Python Maintainability

Ansible-lint-junit

The ansible-lint to JUnit converter.

Installation

via pip:

pip install ansible-lint-junit

Updating

via pip:

pip install ansible-lint-junit --upgrade

Usage:

  • You can run ansible-lint on your playbook(s) and redirect output to pipe
    ansible-lint playbook.yml -p --nocolor | ansible-lint-junit -o ansible-lint.xml
    
  • You can use a temporary file to store the output of ansible-lint. After that run ansible-lint-junit and pass generated file to it
    ansible-lint -p --nocolor your_fancy_playbook.yml > ansible-lint.txt
    ansible-lint-junit ansible-lint.txt -o ansible-lint.xml
    

Output

  • If there are any lint errors, full JUnit XML will be created.
  • If there are no errors, empty JUnit XML will be created, this is for i.e. Bamboo JUnit parser plugin compatibility.
    It will break build if XML is missing or incorrect, and there is really no way of generating XML with "PASSED" tests in case of linter.

License

The ansible-lint-junit project is distributed under the [MIT] license.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc