I\'m trying to use Jenkins Blue Ocean API to retrieve logs of the current pipeline to save in case of failure to a gitlab snippet.
I\'m using declarative pipeline and