sh_junit_xml
This a simple wrapper around the junit_xml python library to allow for generating junit xml files from a shell. The main use case for this is generating test results for jenkins from shell scripts.
Installation
Install via pip:
pip install sh_junit_xml
Install from source:
./setup.py install
Usage
The script wraps all arguments passed to junit_xml.TestCase.__init__() so
that you can construct any arbitrary test case that is available through this
class. The each argument is simply prepended with -- and remains otherwise
identical. Most arguments are treated as strings but a few special cases are
converted after they are read in from the command line, such as --elapsed_sec
which is converted to a number since it is expected in that format.
Additionally arguments that start with @ will be treated as filename, which
are opened and the contents are passed as the argument.
In addition to the automatic arguments generated from the TestCase constructor
the following arguments are available:
--suite: Specify the suite name
--failure: Mark the test as failed and pass the failure message.
--error: Mark the test as an error and pass the error message.
--skipped: Mark the test as skipped and pass the skipped message
Metadata
Release files for sh-junit-xml 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sh_junit_xml-1.1.5.tar.gz | 4.6 kB | With provenance | Details for sh_junit_xml-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sh_junit_xml-1.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for sh_junit_xml-1.1.5-py2.py3-none-any.whl |
Total release size: 8.5 kB
Release files / sh_junit_xml-1.1.5.tar.gz
| Download URL | sh_junit_xml-1.1.5.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6719a6bc23f52d9163a4990fa5a3a7490dd6489fd7c905ffaa7fc14420cf1217
|
|
BLAKE2b-256 checksum How to use checksums |
69502c4ba67a7590bc028d481794d0d3c91f7f15c272d584797ab435e236501d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.
Transparency logRelease files / sh_junit_xml-1.1.5-py2.py3-none-any.whl
| Download URL | sh_junit_xml-1.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b4a04154fff711277dc883b68540d876cb683ff32919582a3dfcd1b86348cbe4
|
|
BLAKE2b-256 checksum How to use checksums |
ac409e1c76021c0545f6ab58cfeac316f15545e5e1bc560b45bbf4a739feb9ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.
Transparency logSecurity for sh-junit-xml 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sh_junit_xml-1.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.