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

Build report return 404 in Jenkins 2.150.1 #24

Open
iaco86 opened this issue Dec 13, 2018 · 1 comment
Open

Build report return 404 in Jenkins 2.150.1 #24

iaco86 opened this issue Dec 13, 2018 · 1 comment

Comments

@iaco86
Copy link

iaco86 commented Dec 13, 2018

We just updated to Jenkins 2.150.1 and the scoverage plugin stopped working for the build-specific reports.
For instance, for the run number 71, jetty returns a

HTTP ERROR 404
Problem accessing /<orgName>/job/<projectName>/71/scoverage-report. Reason:

    Not Found

When viewing the report for the project, instead, that is correctly reachable at /<orgName>/job/<projectName>/scoverage/
I double checked the directories created on the master instance, and files are correctly stored, e.g. for build 71 in <jenkinsHome>/jobs/<projectName>/builds/71/scoverage-report...
Has anyone seen this and found a workaround? It looks like an update to jenkins (possibly the stapler dependency) broke this...

@iaco86
Copy link
Author

iaco86 commented Dec 14, 2018

The problem is in the ovverride of StaplerProxy in ScovergeBuildAction - since it returns null, jenkins throws a 404.
Removing the implementation fixes the problem, I'm not sure if it breaks compatibility with older versions of jenkins.

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