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

Plugin fails when run in Windows (\ instead of / for path sep) #16

Open
deors opened this issue Mar 27, 2018 · 0 comments
Open

Plugin fails when run in Windows (\ instead of / for path sep) #16

deors opened this issue Mar 27, 2018 · 0 comments

Comments

@deors
Copy link

deors commented Mar 27, 2018

When the plug-in runs in a Windows box, it fails with an ArrayOutOfBoundsException. Root cause is in PitPublisher class, line 124, where it is expected that path separator is a forward slash. So, for example, when run in Windows, the report name is something like "C:\java\data\jenkins\jobs\test-mutation\workspace\target\pit-reports\201803261622\mutations.xml", thus no element with index 1 is obtained from the split("/"). Using the path separator for the platform might solve the issue.

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

1 participant