Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thyrlian/jooi
Convert the results of Infer (static analyzer by Facebook) to JUnit format results.
https://github.com/thyrlian/jooi
Last synced: about 1 month ago
JSON representation
Convert the results of Infer (static analyzer by Facebook) to JUnit format results.
- Host: GitHub
- URL: https://github.com/thyrlian/jooi
- Owner: thyrlian
- Created: 2015-07-01T21:53:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-01T08:52:25.000Z (about 9 years ago)
- Last Synced: 2024-05-01T21:29:53.795Z (7 months ago)
- Language: Ruby
- Size: 172 KB
- Stars: 15
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jooi (Junit Output of Infer)
Convert the results of [Infer](http://fbinfer.com/) (static analyzer by Facebook) to JUnit format results.## Setup
* Have Ruby installed;
* Have nokogiri gem installed (if not, run `gem install nokogiri`);## Jenkins Configure
* **Build** -> **Execute shell** -> **Command**
``` bash
#!/usr/bin/env bash
#
# Supported build systems by Infer:
# http://fbinfer.com/docs/analyzing-apps-or-projects.html
# Example analyze commands for Infer:
# infer -- gradle
# infer -- xcodebuild -target -configuration -sdk iphonesimulator
# infer -- xcodebuild -workspace -scheme -configuration -sdk iphonesimulator
#
set -o pipefail
| ruby junit_output_of_infer.rb $PWD/infer_junit_results.xml
```
* **Post-build Actions** -> **Publish JUnit test result report** -> **Test report XMLs** -> infer_junit_results.xml## Troubleshooting
* **Q**: `.rb:: warning: Insecure world writable dir in PATH, mode 040777`
* **A**: `chmod go-w `