Closed abatishchev closed 5 months ago
Hi @abatishchev,
I believe the issue is caused by an internal policy here at Microsoft I didn't even know existed. Since we haven't (yet) created a UI extension to show a custom result tab in the pipeline summary view, we use the task.uploadSummary
logging command (see here) to publish a Markdown file. This runs a special task.addAttachment
logging command, which is then blocked by our policy.
I could add a parameter to prevent the call of task.addAttachment
, but that would remove the policy result from the UI. Thus, it can only be an intermediate workaround. I don't know how quickly I can add the custom result tab. Would that be okay for your team?
hi @ReneSchumacher, my apologies! I somehow missed an email notification about your response. Came back today to check on the status of the issue and just saw it.
I could add a parameter to prevent the call of task.addAttachment
I think it'd be fine, especially if something temporal. I personally don't need the UI/report right now, using the task to ensure that a new build produces no net new warnings.
Have same exact issue, I want to use this BuildQualityChecks task and fix the warning
@ReneSchumacher gentle ping.
@abatishchev Sorry for the delay, it's been a busy end of year and then vacation time. I have added a new parameter addAttachment
to the task with the default value true
. You can set it to false
to disable attachment publishing. As mentioned, this does disable the UI result of the task as well as warning statistics (they are only visible in the UI). It does not affect the task result itself, though.
I'm waiting for a colleague to review my PR. Once that is done, the new version goes out to the marketplace.
PR is completed and release is underway. I'm closing the issue now. Feel free to comment or open a new one if the solution does not fix your issue.
ёDescribe the context
Describe the problem and expected behavior
Task
BuildQualityChecks@9
doesn't offer a parameteraddattachment
(like others in the suite) so is attempt to attach one regardless what produces a warning:Task logs Run your pipeline with the following variables:
Regular logs;
Verbose logs: