How could I get full job log by API?

Hello.
I have a task to analyze job log in offline mode, because I do not have access to web-interface of Bitrise, but I could request Bitrise by API.
I’ve tried to get full job log by API as mentioned here. But after downloading log file I’ve discovered that it contains only small part of full log.
For example, I have a bit smaller than 500 log chunks (“generated_log_chunks_num”: 489,) but in the downloaded file I see only last ten log chunks.
Is it possible to get all log chunks by API request or maybe is there another way to download raw full log by API request?
Thank You

1 Like

Hello,

The response should contain an expiring_raw_log_url in the response to download the entire log!

cathy

Thank You for answer.
But in case I request the url expiring_raw_log_url could I get really the full log or only first 50 chunks?

Hi @SLozenkov
Yes, you get the first 50 chunks.

Thanks
Chaitanya

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.