REST Api and Zip'd Agent Logs

Hi,

Can the REST api be used to download the zip'd agent logs?

ScreenClip.jpg

0
4 comments

You can download these logs using HTTP request with basic authentication:
http://buildserver/httpAuth/downloadBuildLog.html?buildId=<build id>&archived=true

If logs are available to guest you can use /guestAuth/ prefix.

0
Avatar
Permanently deleted user

I think we may be talking about 2 different things.  I'm referring to the Agent's logs, not the logs from a particular build.

LogScreenClip.png
-T

0

Sorry, I misunderstood you. But the approach is the same, you can download them by URL using http basic authentication. The URL in case of agent is:
http://buildserver/httpAuth/agent/downloadLogs.html?agentName=<agent name>

0
Avatar
Permanently deleted user

Perfect! Thanks!

0

Please sign in to leave a comment.