thatguy
thatguy

Reputation: 291

Jenkins junit results coming empty

I am using jenkins Jenkins 2.277.4 and junit plugin 1.51 My jenkinsfile code has below snippet for junit

 junit allowEmptyResults: true, testResults: "${COMPONENT}/*_test_report.xml"

I have check the file ${COMPONENT}/*_test_report.xml and it is non empty. but I am getting results in pipeline as

Recording test results
[Checks API] No suitable checks publisher found.

I have tried upgrading the plugin , not sure what is wrong I am doing here ?

Upvotes: 2

Views: 3095

Answers (1)

adam
adam

Reputation: 317

From the https://plugins.jenkins.io/junit/ docs, use the skipPublishingChecks: true argument to disable publishing warnings back to your SCM provider.

Upvotes: 1

Related Questions