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

File reports not displayed for multi-module projects #12

Open
timonsdad opened this issue Jan 8, 2016 · 2 comments
Open

File reports not displayed for multi-module projects #12

timonsdad opened this issue Jan 8, 2016 · 2 comments

Comments

@timonsdad
Copy link

Our project generates 43 different mutations reports (one per top level package). The plugin publishes these to {workspace}/mutation-report{N}, where {N} is either a null string, or an integer in the range (1,42). So, all of our reports are saved.

If I look at my mutation report in jenkins, the components table lists all of the reports with names like "Module: 25". If I click on the name, I can drill down into the packages in that library, for example "Package: com.miovision.foo", and then into classes, for example "Class: com.miovision.boo.Bar". When I scroll to the bottom of this page, I see the message:

Could not read source file: /var/jenkins_home/jobs/miosrc-develop-daily/builds/215/mutation-report/com.miovision.foo/Bar.java.html

After looking into this, I've found that this file does exist, but, it's located in the mutation-report31 directory (I expected module 25 would be in mutation-report25, but, apparently that isn't exactly how it works).

It would be really awesome if all of this just worked.

Right now, I'm looking at working around this issue by symlinking com.miovision.foo (and all other such directories), into the mutation-report directory.

@Bavoen
Copy link

Bavoen commented Feb 18, 2016

please see my pull request which fixes this problem: #13

@bartektartanus
Copy link

@Bavoen thanks, that works for me! Almost...
It works if I have project inside of a module. But what if module contains another module which contains projects? It doesn't work then.

But many thanks for this pull request anyway!

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

3 participants