Is there an easy way to have ‘jpm test’ output a file that is easily consumable by Jenkins or an existing Jenkins plug-in? The only output I see for jpm seems to be: jpm test --tbpl
. However; I don’t see any links about how to consume Treeherder output in Jenkins or even how to convert the output to something more common like JUnit xml. Has anyone solved this problem?
I still have not found out what the official schema is for treeherder or tbpl is, but I created a npm module with a CLI that converts the jpm test output to JUnit.xml, which can then easily consumed by the Jenkins JUnit plug-in.
jpm test --tbpl | woodchipper --timeout 1000 > junit.xml
Feel free to give it a try and drop me a line or an issue if you have feedback.
Woodchipper 
A simple module and CLI utility that converts Treeherder (the successor to TBPL) output to JUnit xml.
Installation
npm install woodchipper -g
Usage
woodchipper [--version] [--help] [--format=<name>] [--timeout=<ms>] <input>