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

Allow placeholder in reportDir #26

Open
franzbecker opened this issue Mar 27, 2019 · 0 comments
Open

Allow placeholder in reportDir #26

franzbecker opened this issue Mar 27, 2019 · 0 comments

Comments

@franzbecker
Copy link

Thanks for the great work!

I've got one issue with the configuration:

Currently I'm using this step to publish the scoverage results:

step([$class: 'ScoveragePublisher', reportDir: 'target/scala-2.12/scoverage-report', reportFile: 'scoverage.xml'])

What I really would want to configure is the following:

reportDir: 'target/scala-*/scoverage-report'

or

reportDir: 'target/**/scoverage-report' 

so that I don't need to update all my configurations when I upgrade the Scala version.
When I try this I get errors that the report cannot be found. Looks like this line right here:

final FilePath scovPath = workspace.child(reportDir);

Or did I miss something?

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