Tell us what you wanted to achieve and what unexpected behavior actually happened.
Trying to run the build task with following configuration:
No error message was reflected, variable value is not present, however, we can output values pertaining to other baseline build variables as seen in this build run :
Output reflects correct baseline build coverage percentage but fails to locate it for current build run:
Add any concrete error messages you see in your pipeline.
None
Task logs
Run your pipeline with the following variables:
For BuildQualityChecks: System.Debug and BQC.LogRawData set to true
For CreateWorkItem: System.Debug set to true
For PostBuildCleanup: System.Debug and PBC.LogRawData set to true
Send the task log to PSGerExtSupport@microsoft.com and reference your GitHub issue.
Attention: The log file may contain sensitive data (e.g., server or organization names, project names, variable information). Please do not attach the log to your GitHub issue and or remove the information from the log file before attaching or sending.
Describe the context
Describe the problem and expected behavior Trying to output the variable CodeCoveragePolicy.Percentage.Covered via pipeline script as mentioned in https://github.com/MicrosoftPremier/VstsExtensions/blob/master/BuildQualityChecks/en-US/CodeCoveragePolicy.md#policy-result-variables. However, this does not yield any value in pipeline script.
Tell us what you wanted to achieve and what unexpected behavior actually happened. Trying to run the build task with following configuration:
No error message was reflected, variable value is not present, however, we can output values pertaining to other baseline build variables as seen in this build run :
Output reflects correct baseline build coverage percentage but fails to locate it for current build run:
Add any concrete error messages you see in your pipeline. None
Task logs Run your pipeline with the following variables:
System.Debug
andBQC.LogRawData
set totrue
System.Debug
set totrue
System.Debug
andPBC.LogRawData
set totrue
Send the task log to PSGerExtSupport@microsoft.com and reference your GitHub issue.
Attention: The log file may contain sensitive data (e.g., server or organization names, project names, variable information). Please do not attach the log to your GitHub issue and or remove the information from the log file before attaching or sending.