previously log_url = f"https://api.bitbucket.org/2.0/repositories//pipelines/%7B{pipeline[‘uuid’]}%7D/steps/%7B{step_uuid}%7D/log"
log_response = subprocess.run(
[“curl”, “-u”, BITBUCKET_APP_PASSWORD, “-H”, “Content-Type: application/json”, “–url”, log_url],
capture_output=True,
text=True
) this fetched the logs of each build step in the pipelines correctly now it is not working same. Any one have idea what cause this.?
What is the response from the API endpoint when you send that request to it?