Closed madurh closed 4 years ago
Hi @madurh,
I'm not totally sure what might be causing this. The issue could already be resolved with the latest task version v6.2.4. Could you please check?
If the problem persists, please run your build again with the System.Debug set to true and send us the log file via email to PSGerExtSupport@microsoft.com.
René
Hi @ReneSchumacher, I did get the same error with v6.2.4 at least once, which I pasted below. But now I notice the "Check build quality" task has upgraded itself to v6.3. I will watch to see if it happens again in v6.3, then I'll turn on the diagnostics and send you the log. Thanks @ReneSchumacher
2020-01-14T20:59:16.7588860Z ##[section]Starting: Check build quality
2020-01-14T20:59:16.7596966Z ==============================================================================
2020-01-14T20:59:16.7597023Z Task : Build Quality Checks
2020-01-14T20:59:16.7597247Z Description : Breaks a build based on quality metrics like number of warnings or code coverage.
2020-01-14T20:59:16.7597279Z Version : 6.2.4
2020-01-14T20:59:16.7597308Z Author : Microsoft Premier Services
2020-01-14T20:59:16.7597571Z Help : [[Docs]](https://github.com/MicrosoftPremier/VstsExtensions/blob/master/BuildQualityChecks/en-US/overview.md)
2020-01-14T20:59:16.7597600Z ==============================================================================
2020-01-14T20:59:17.3012226Z SystemVssConnection exists true
2020-01-14T20:59:17.7067776Z Using IdentifierJobResolver
2020-01-14T20:59:17.8035362Z Validating build warnings policy...
2020-01-14T20:59:17.8961761Z Counting warnings from tasks:
2020-01-14T20:59:17.8962047Z - Build Project
2020-01-14T20:59:33.3421234Z ##[error]Unhandled: undefined
2020-01-14T20:59:34.9801747Z - Total warnings: 0, Filtered warnings: 0
2020-01-14T20:59:34.9802375Z Total warnings: 0
2020-01-14T20:59:34.9804367Z Filtered warnings: 0
2020-01-14T20:59:34.9855468Z [SUCCESS] Warnings policy passed with 0 warning(s).
2020-01-14T20:59:35.0999272Z ##[section]Finishing: Check build quality
Hi @madurh,
as there haven't been any updates to this I assume everything is running smoothly now. Thus, I'm going to close the issue for now. Please feel free to post additional comments or open a new one if you see a problem again.
Happy building, René
We have a "Check build quality" task set up to treat warnings as errors and fail the pipeline on errors. But there are no warnings in the log from the previous build task and "Check build quality" is failing with the error message "##[error]Unhandled: undefined"
I noticed that the previous build was run from the exact same Git commit on the same day, but that the "Check build quality" task was upgrade from 6.1.2 (passed) to 6.2.0 (failed)
What in our pipeline could be causing this? Is there a workaround or a fix for this?
Thanks.
The Task:
The Error Log:
The Successful Log from earlier, no errors: