I'd like to get the docker log shown in the screenshot below (see docker tab highlighted in blue) by REST API.
I can get the main log with /steps/{step_id}/logs/{log_id} where log_id the step_id.
How might I get the docker log?
Hey @Chris Hatch
Welcome to the community!
We don't have an API endpoint for service logs. Could you please specify why you need this or provide a use case? I can then submit a feature request on your behalf.
Regards,
Syahrul
Hi Syahrul,
thanks. yes i'm building a Forge App to analyse pipelines and in particular docker builds. the idea is to suggest and make performance improvements based on previous runs.
actually another issue related to logs. when I download the steps log using /logs from inside my forge app i get an egress error because the logs are at micros--prod-east--bitbucketci-file-service--files.s3.amazonaws.com ...
i wonder if this or part of this domain could be added to the preapproved domains list (eg. https://developer.atlassian.com/platform/forge/analytics-tool-policy/) or if it could be streamed directly through the API https://api.bitbucket.org/2.0/ ?
Regards,
Chris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Syahrul what do you think about my use case? do you think it can be added?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.