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

TFS 2017.3 gives error when using the coverage gate #158

Open
jkwinder opened this issue Sep 9, 2020 · 0 comments
Open

TFS 2017.3 gives error when using the coverage gate #158

jkwinder opened this issue Sep 9, 2020 · 0 comments

Comments

@jkwinder
Copy link

jkwinder commented Sep 9, 2020

I'm getting the following error when using the coverage gate task on a TFS 2017.3 environment using the OAUTH token:

2020-09-09T15:35:24.9638272Z ##[debug]Detected token: creating bearer cred handler
2020-09-09T15:35:24.9658595Z ##[debug]Connecting to test API
2020-09-09T15:35:24.9664236Z ##[debug]Getting coverage data
2020-09-09T15:35:25.0906527Z ##[debug]Analyzing coverage data
2020-09-09T15:35:25.0911201Z ##[debug]Caught an error - logging
2020-09-09T15:35:25.0911805Z ##[debug]task result: Failed
2020-09-09T15:35:25.0914703Z ##[error]Cannot read property 'coverageStats' of undefined
2020-09-09T15:35:25.0915090Z ##[debug]Processed: ##vso[task.issue type=error;]Cannot read property 'coverageStats' of undefined
2020-09-09T15:35:25.0915749Z ##[debug]Processed: ##vso[task.complete result=Failed;]Cannot read property 'coverageStats' of undefined
2020-09-09T15:35:25.0916021Z ##[debug]Leaving Coverage Gate task
2020-09-09T15:35:25.1019417Z ##[section]Finishing: Fail if coverage delta is below 0

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

No branches or pull requests

1 participant