How to get the details of the job along with it console output using Jenkins REST API
example of builds
console output:
I am using foll
So for using the consoleFull
i'm getting very dirty output using curl
example:
curl -s -S -u "user":"password" "http://jenkins.domain.com/job/my_job_name/1077/consoleFull"
output: many lines wrapped with html stuff:
ok:
so my solution is to use:
curl -s -S -u "user":"password" "http://jenkins.domain.com/job/my_job_name/1077/logText/progressiveText?start=0"
and you will get the same console log output without the html,span stuff