jenkinsci / java-client-api

A Jenkins API client for Java
MIT License
901 stars 470 forks source link

Add the crumbFlag as the 2nd parameter of getConsoleOutputText method #386

Closed iapplejohn closed 5 years ago

iapplejohn commented 5 years ago

I need to fetch the progressive text with the crumbFlag setting to true, otherwise, it will return http status 403, no valid crumb was included in the request.

mivola commented 5 years ago

@khmarbaise are you aware that this is a breaking change? Wouldn't it be better to keep the existing methods (which then forward to the new methods with "crumbFlag=false")? Furthermore it also solves issue #350.