Skip to content

add tags passed through saucectl run to uploaded artifacts #1019

@mknudsen

Description

@mknudsen

🚀 Feature Proposal

We run automated tests like this
./saucectl run --tags "$ourbranchname",xyz-pipeline --reporters.junit.enabled --select-suite somesuite…

The tags do show up in the metadata for the test execution, they however do not show up in the metadata of the artifacts uploaded automatically (as defined in the suite configuration).

This means we have a lot of hard to distinguish artifacts in saucelabs.

Motivation

Being able to have them tagged would make selecting a viable one for manual testing easier. We are aware that we can upload the artifacts exlicitly, also that we can delete the implicitly added artifacts. Especially when reproducing issues in automated testing being able to quickly (i.e. without looking up artifact ids) artifacts that match a certain test run would help.

Example

Either carry through all tags or add a new parameter like so

./saucectl run --tag-artifact "$ourbranchname","$ci_buildnumber" --tags xyz-pipeline --reporters.junit.enabled --select-suite somesuite…

Something like the automatic tagging of the tests would also work in our case, as the most urgent data we care about is in there too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions