Comments (5)
Would you please let me know the build tool / version you use?
It will be greatly helpful if you can share the layout of workspace, like the followings.
repo
|_src
_target/site/scoverage
from scoverage-plugin.
I'm using sbt 0.13.6, sbt-scoverage 1.0.1.
As far as workspace layout, the sbt project root directory is a subdirectory of the repository root. After I run scoverage with sbt, I'm copying the scoverage-report to a different location outside of the sbt target directory so I can generate a non-scoverage-instrumented assembly jar.
So it ends up looking like the following
repository-root-dir
|_ sbt-project-dir
|_src
|_project
|_target
...
|_scoverage-report
So the scoverage plugin config points to report directory sbt-project-dir/scoverage-report, file scoverage.xml.
from scoverage-plugin.
Thanks, I guess the reason is scoverage-report is moved outside target directory.
Please try to move it to a 2nd level directory under repo-root-dir, maybe abc/scoverage-report.
I'll also try it out locally and give a fix if applicable.
from scoverage-plugin.
I'm having the same issue. Running on Cloudbees, the jobs get executed on a different node. I'm using the workflow plugin:
step([
$class : 'ScoveragePublisher',
reportDir: "target/scala-2.10/scoverage-report",
reportFile: "scoverage.xml"
])
As mentioned above, the link to scoverage report leads to a 404.
As a workaround we manually archive the coverage report to make it accessible through the archives view ${JENKINS_SERVER}/${JOB_NAME}/${BUILD_ID}/artifact/
archive 'target/scala-2.10/scoverage-report/**'
from scoverage-plugin.
Should be fixed in the latest 1.2.1.
from scoverage-plugin.
Related Issues (20)
- Reports are not published HOT 3
- Even after specifiying output directory, no coverage data is shown HOT 3
- Add support to fail build if coverage drops since last build HOT 2
- Unable to see scoverage report on Jenkins 2.6 HOT 37
- New version with last fix? HOT 1
- Wrong link to the scoverage report in the image in jenkins HOT 4
- Scoverage is failing to publish reports HOT 3
- make it all green if coverage is 100% HOT 1
- Graph is empty with a multimodule project HOT 5
- Parse more report for one build
- Error Message for Missing index.html confusing HOT 1
- Jenking Pipeline support HOT 2
- Build report return 404 in Jenkins 2.150.1 HOT 1
- Allow placeholder in reportDir
- Can we add support for multi module builds where the plugin searches for all directories for all scoverate reports. HOT 1
- 'stapler-class' is deprecated HOT 2
- Clicking on coverage graph from jenkins job summary page results in 404 HOT 3
- Add coverage column support HOT 1
- ScoveragePublisher.java gives java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scoverage-plugin.