We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2bb0aa commit d1d03f6Copy full SHA for d1d03f6
src/main/java/io/jenkins/plugins/pipelinegraphview/consoleview/PipelineConsoleViewAction.java
@@ -127,6 +127,9 @@ protected JSONObject getAllSteps() throws IOException {
127
"Doesn't seem to matter in practice, docs aren't clear on how to handle and most places ignore it")
128
public void getConsoleText(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException {
129
String nodeId = req.getParameter("nodeId");
130
+
131
+ rsp.setContentType("text/plain");
132
133
if (nodeId == null) {
134
logger.error("'consoleText' was not passed 'nodeId'.");
135
rsp.getWriter().write("Error getting console text\n");
0 commit comments