{"id":22870234,"url":"https://github.com/dadav/xray2junit","last_synced_at":"2025-03-31T11:26:01.235Z","repository":{"id":142502235,"uuid":"613044095","full_name":"dadav/xray2junit","owner":"dadav","description":"Convert xray reports to junit reports.","archived":false,"fork":false,"pushed_at":"2023-03-14T20:10:52.000Z","size":5241,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T16:57:55.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-12T18:14:18.000Z","updated_at":"2023-03-14T18:46:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8acf1012-3205-4423-8394-2a2b349d9281","html_url":"https://github.com/dadav/xray2junit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fxray2junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fxray2junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fxray2junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fxray2junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/xray2junit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460255,"owners_count":20781073,"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":[],"created_at":"2024-12-13T13:14:15.516Z","updated_at":"2025-03-31T11:26:01.230Z","avatar_url":"https://github.com/dadav.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xray2junit\n\n[![Latest Version](https://img.shields.io/github/v/release/dadav/xray2junit?display_name=tag\u0026label=Latest%20version)](https://github.com/dadav/xray2junit/releases)\n[![License](https://img.shields.io/github/license/dadav/xray2junit?color=green)](https://github.com/dadav/xray2junit/blob/main/LICENSE)\n\n\u003cimg alt=\"xray2junit demo\" src=\"header.gif\" width=\"600\" /\u003e\n\nThis program converts the output of `jfrog scan --format simple-json` to\na junit report which can be used in gitlab-ci to display the results there.\n\n## install\n\n```bash\n# Install to ~/.cargo/bin\ncargo install --git https://github.com/dadav/xray2junit.git\n```\n\n## options\n\n```bash\nOptions:\n  -i, --input \u003cFILE or STDIN(-)\u003e    File to be processed [default: -]\n  -o, --output \u003cFILE or STDOUT(-)\u003e  File to save the result [default: -]\n  -d, --debug                       Turn debugging information on\n  -h, --help                        Print help\n  -V, --version                     Print version\n```\n\n## usage\n\n```bash\njfrog scan --format simple-json . | xray2junit\n```\n\nBest used with gitlab-ci like this:\n\n```yaml\n---\nxray-job:\n  before_script: |\n    cargo install --git https://github.com/dadav/xray2junit.git\n    export PATH=$PATH:~/.cargo/bin\n  script: jfrog scan --format simple-json . | xray2junit -o report.xml\n  artifacts:\n    when: always\n    paths:\n      - report.xml\n    reports:\n      junit: report.xml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fxray2junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Fxray2junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fxray2junit/lists"}