How can I parse the report to indicate to my Jenkins build if the pass rate is above threshold or not and fail the job accordingly? #270
Unanswered
saritvakrat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I parse the report to indicate to my Jenkins build if the pass rate is above threshold or not and fail the job accordingly?
Right now we use htmlpublisher in the job to parse the HTML file and present it, but we also want to set threshold to determine if to fail or pass the job
We also use this config:
["jest-html-reporters", {
"publicPath": "./html_report",
"filename": "report.html",
"darkTheme": false,
"openReport": true,
"inlineSource": true,
"includeConsoleLog": true
}],
Beta Was this translation helpful? Give feedback.
All reactions