jenkins/jenkins-console-output

View Console Output

Fetch console output of a build

jenkins
console
output

Command

java -jar jenkins-cli.jar -s http://localhost:8080/ console my-job 15

Explanation

Fetches the console output of a specific build. Useful for troubleshooting build failures or analyzing logs.

Examples

View console output of build number 5

java -jar jenkins-cli.jar -s http://localhost:8080/ console my-job 5