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:
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:
{ "error": { "data": { "arguments": {}, "key": "unexpected.response.body" }, "detail": "Unexpected response body", "message": "Bad request" }}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.