Is there any way I can get artifacts from a pipeline's step using CLI?
I was trying to retrive a specific step with no success even though it is defined in doc:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/%7Bpipeline_uuid%7D/steps/%7Bstep_uuid%7D
curl -X GET -is -u "username:password" -H 'Content-Type: application/json' https://api.bitbucket.org/2.0/repositories/<workspace>/<repo_slug>/pipelines/<pipeline_uuid>/steps/<step_uuid>
returns
{ "error": { "data": { "arguments": {}, "key": "unexpected.response.body" }, "detail": "Unexpected response body", "message": "Bad request" }}
It is something about formatting I guess, when encoding curly brackets e.g ".../steps/7Bd83a8fdc-0cc2-1234-1234-d16fd1501009%7D" I get an error above, not encoded results with:
Hi Wojciech,
Are you able to fix this issue?
It looks like you're new here. Sign in or register to get started.