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

[PublishTestResultsV2] Add option to fail task if no test result files are found #18931

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

triptijain2112
Copy link
Contributor

@triptijain2112 triptijain2112 commented Sep 7, 2023

Task name: PublishTestResultsV2

Description:
Adds an option that lets the user configure the task to fail in case no
test result files have been found. This serves as a safeguard to make
sure that the test-run task and this task has been configured properly
to find the test result files.

We are defaulting to not failing the task on missing files, to keep current behavior.

Documentation changes required: Y

Added unit tests: N
Not sure how this should be tested, as the "Warning" functionality doesn't seem to be tested either?

Attached related issue: Y
Solves #13275

Checklist:

Task version was bumped - Yes

Testing done: Pushed the task to my test org, working fine as expected

image

Copied from: #14868

@triptijain2112
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@d3r3kk
Copy link

d3r3kk commented Oct 9, 2024

@rasunkar and @dogirala, please consider closing #13275 as it is resolved with this PR. Thanks!

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.

4 participants