-
Bug
-
Resolution: Fixed
-
Major
When looking into the popup in the breadcrumb of the lastBuild of a particular job, there is a link to the console of the last build (GOOD). See for example, the popup of the breadcrumb in https://buildhive.cloudbees.com/job/cgeo/job/c-geo-opensource/lastBuild/
And there is also a link to the lastBuild console in the popup of the lastBuild permalink in this job page (GOOD).
See for example, the "good.png" attached screenshot.
But in some other job (log file larger than 200000 probably), there is no link to the console of the last build in the breadcrumb of the lastBuild page (BAD).
See for example, the popup of the breadcrumb in https://buildhive.cloudbees.com/job/Atmosphere/job/atmosphere/lastBuild/
And in the job page of the same job, there is no link to the lastBuild console in the popup of the lastBuild permalink in the same job page (BAD).
See for exampe, the "BAD.png" attached screenshot.
- is duplicated by
-
JENKINS-15786 Console view link not always available in popup menu
-
- Resolved
-
-
JENKINS-16303 “Console Output” context menu item missing for builds with long logs
-
- Resolved
-
After more tests, this does not depend on the types of jobs (freestyle or maven).
But it depends on the fact that there is "Console Ouput" or "Console Output [raw]" in the actions on the left.
And so, it seems to be because "Console Output [raw]" is rendered directly in tasks.jelly when the log file is larger than 200000, whereas "Console Output" is rendered by <l:task>.
See https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly#L34