Skip to content

[Bug]: there is no verifications on artifacts download #608

@damevin

Description

@damevin

What happened?

I'm trying to download artifacts from my build. I know I need to provide the artifact UUID, but there's no validation or error handling on invalid inputs.

For example, when I run:

bk artifacts download nothing/that-exist
Downloaded artifact to: 

I always see the "Downloaded artifact to:" message, even though the artifact doesn't exist.

Expected behavior: The command should display an error message like "Failed to fetch the requested artifact" when the artifact doesn't exist or can't be found.

Thanks 👍

Version

3.16.0

What environment are you seeing the problem on?

Local Development

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions