jenkinsci / jenkinsci/java-client-api

public ConsoleLog getConsoleOutputText(int bufferOffset)

Open
#506 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

### Jenkins and plugins versions report

![Image](https://github.com/user-attachments/assets/2d7e9639-189d-4eca-969f-4446ecca1c1a)

### What Operating System are you using (both controller, and any agents involved in the problem)?

MacOS

### Reproduction steps

method

public ConsoleLog getConsoleOutputText(int bufferOffset) throws IOException {

### Expected Results

public ConsoleLog getConsoleOutputText(int bufferOffset) throws IOException {
List formData = new ArrayList();
formData.add(new BasicNameValuePair("start", Integer.toString(bufferOffset)));
String path = this.getUrl() + "logText/progressiveText";
HttpResponse httpResponse = this.client.post_form_with_result(path, formData, false);

--> this.client.post_form_with_result(path, formData, true);

### Actual Results

Default false will result in 403

### Anything else?

It should be set as a parameter that can be passed in

### Are you interested in contributing a fix?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.