How to get the "console output" from Jenkins

Asked

Viewed 131 times

0

I use the REST API of Jenkins to get all the information I need with: /api/json?pretty=true.

Now I need to get the logs that are on /console, and would like to know if he possesses something similar.

1 answer

0


I believe that as the Log is a very generic end result, the Jenkins makes it available in a different and simple way. And as I was seeking a JSON, I didn’t realize it right away.

To access the build log, simply access the /consoleText.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.