Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds always set GitHub commit status to "No test result found" #168

Closed
martin-brennan-csnet opened this issue Sep 7, 2015 · 4 comments

Comments

@martin-brennan-csnet
Copy link

For every passing build the message "No test result found" is passed to the GitHub status is passed:

image

I see that this line is generated by the source file https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/manager/impl/GhprbBaseBuildManager.java .

My question is, does this test result parser only work for JUnit tests? I'm using a TAP test reporter and result parser and I would like this output to determine the test results sent to GitHub. Is there any way to do this or would I have to use JUnit for this plugin to use the test results in the commit status? Thanks.

@slaunay
Copy link
Contributor

slaunay commented Nov 25, 2015

You should try again with version 1.29.5 (see janinko#315).

@mrchief
Copy link

mrchief commented Jan 20, 2016

I'm using 1.29.8 and I don't see reports. I'm using mocha to run tests:

  "scripts": {
    "test": "mocha --compilers js:babel-core/register src/**/*spec.js"
  },

@benpatterson
Copy link
Member

Hi - I'm helping out with this plugin...labeling some tickets where I need to take a closer look.

@benpatterson
Copy link
Member

I've ramped up a bit and I agree with previous comments that this can be dealt with now with the latest version of the plugin. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants