-
Notifications
You must be signed in to change notification settings - Fork 56
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
Clicking on the View as plain text link in Firefox downloads the log data as a file #520
Comments
I don't see this bug on Jenkins 2.462.3. The Pipeline Graph View plugin links to the workflow-job 1441.vb_2d416905b_35 overrides doConsoleText and calls |
I can't duplicate the problem with Firefox 131.0 on my Windows computer when running Jenkins 2.479 with most recent releases of plugins for Pipeline, including Pipeline graph view. Firefox 131.0 behaves the same as Google Chrome for me. When I
The page is replaced with the text of the console log. It does not download a file, at least not in my environment. |
Actually, it was jenkinsci/jenkins#9379. |
@MarkEWaite To trigger the change in behavior, you need a step with at least 4K of logs. The behavior before jenkinsci/jenkins#9379 was to use an uncompressed writer for under 4K of logs (which would result in no download) and a compressed writer for 4K or more of logs (which would result in a download). As of jenkinsci/jenkins#9379 compression is delegated to Jetty, which decides to always compress (which always results in a download). This is certainly a change in behavior, but I am not sure it is an undesirable one. |
This is a pre-existing bug in |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins: Ubuntu 22.04.5 LTS
Client: Windows 11, 10.0.22631
Browser: Firefox 131.0
Reproduction steps
Expected Results
The log text is displayed in the Firefox browser.
Actual Results
Firefox downloads the log data as a file named "log".
Anything else?
This problem does not occur with the Edge browser.
When I configure Firefox to ask what to do with unknown file types and click the "View as plain text" link again, FF says that file "log" has the type "application/octet-stream".
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: