Skip to content

Check to be sure that the test result file has actual results before uploading - #9253

Merged
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
JamesWTruher:NoUploadEmptyResultsToVsts
Apr 1, 2019
Merged

Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
JamesWTruher:NoUploadEmptyResultsToVsts

Conversation

@JamesWTruher

@JamesWTruher James Truher (JamesWTruher) commented Mar 30, 2019 •

Copy link
Copy Markdown
Collaborator

PR Summary

VSTS produces a warning if the result set is 0, we will skip uploading this to avoid the warning and better support automation scenarios.

PR Context

We have automation which checks our test results and if the result set is 0 for that file, a warning is produced. This PR will avoid uploading that file into the test results (which is valid, as there are no run tests). We will still add the file to our artifact list for completeness.

PR Checklist

…uploading

VSTS produces a warning if the result set is 0, we will skip uploading this to avoid the warning and better support automation scenarios.
Comment thread build.psm1 Resolved

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make sure XUnit results are published.

Co-Authored-By: JamesWTruher <jimtru@microsoft.com>
@TravisEz13

Copy link
Copy Markdown
Member

PoshChan-Bot (@PoshChan) Please remind me in 1 hour

@TravisEz13 Travis Plunk (TravisEz13) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 1, 2019
@PoshChan

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), all requests start with the magic word: Please

@TravisEz13

Copy link
Copy Markdown
Member

PoshChan-Bot (@PoshChan) Please remind me in 1 hour

@PoshChan

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), will remind you in 1 hour

@PoshChan

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), this is the reminder you requested 1 hour ago

@TravisEz13
Travis Plunk (TravisEz13) merged commit 2f0d127 into PowerShell:master Apr 1, 2019
@JamesWTruher
James Truher (JamesWTruher) deleted the NoUploadEmptyResultsToVsts branch September 23, 2023 05:34
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
…uploading (PowerShell#9253)

VSTS produces a warning if the result set is 0, we will skip uploading this to avoid the warning and better support automation scenarios.

## PR Context

We have automation which checks our test results and if the result set is 0 for that file, a warning is produced. This PR will avoid uploading that file into the test results (which is valid, as there are no run tests). We will still add the file to our artifact list for completeness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log WG-Maintainers-Build specific to affecting the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants