You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIUC the logs in Jenkins console are correct and in the backend the logs are correct too. But when you use getLogFile inside the Job you only get the Jenkins controller logs part, isn't it? if so, it is expected the logs are distributed and sent to the backend. The mirror local option makes some stuff to allow saving the logs in the Jenkins controller, but the Jenkins core call getLogFile does not know anything about distributed logs, so it returns only the logs in the Jenkins controller.
Since this plugin sends the logs to a backend, the way to retrieve those logs is from the backend, the mirror option is a hack (I am not comfortable to have).
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Docker image (jdk17) on Ubuntu
Reproduction steps
Configuration properties
of the pluginNOTE: Some script approvals are necessary to run this script
Expected Results
The entire logs are displayed on Jenkins:
Actual Results
The logs after
getLogFile
are only displayedAnything else?
No response
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: