Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automatic asset uploading #84

Merged
merged 11 commits into from
Oct 23, 2024
Merged

feat: Automatic asset uploading #84

merged 11 commits into from
Oct 23, 2024

Conversation

mhan83
Copy link
Contributor

@mhan83 mhan83 commented Oct 23, 2024

Description

Add new plugin option, artifactUploadDir (naming open to suggestions), that defines a directory name relative to the cypress config file whose contents will be automatically uploaded, per spec. E.g. files in {artifactUploadDir}/{specName} will be attached to the job that ran specName.

DEVX-3072

@mhan83 mhan83 requested a review from a team as a code owner October 23, 2024 15:12
README.md Outdated
| `build` | Sets a build ID. <br> Default: `''` | `string` |
| `tags` | Tags to add to the uploaded Sauce job. <br> Default: `[]` | `string[]` |
| `region` | Sets the region. <br> Default: `us-west-1` | `us-west-1` \| `eu-central-1` |
| `artifactUploadDir` | If specified, automatically upload files from this directory, **per spec**. e.g. files in `{artifactUploadDir}/{specName}/` would be uploaded to the job that ran `spec_name`. The directory is relative to your cypress config file. Default: `undefined` | `string` |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that {artifactUploadDir} is deleted at the beginning of a run?

@mhan83 mhan83 merged commit 0c12286 into main Oct 23, 2024
4 checks passed
@mhan83 mhan83 deleted the devx-3072 branch October 23, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants