From: Michael Kubacki Date: Wed, 20 Apr 2022 01:13:18 +0000 (-0400) Subject: .pytool/Plugin/UncrustifyCheck: Add Azure DevOps UI debug instructions X-Git-Tag: edk2-stable202205~71 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2d9d6057143d7f965a1dd08dc6d36dda30476864 .pytool/Plugin/UncrustifyCheck: Add Azure DevOps UI debug instructions Adds a link to the log output that contains instructions on how find detailed file formatting errors in the Azure DevOps UI. Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Bret Barkelew Signed-off-by: Michael Kubacki Reviewed-by: Sean Brogan --- diff --git a/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py b/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py index 22cca0ff11..00d7886465 100644 --- a/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py +++ b/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py @@ -562,6 +562,11 @@ class UncrustifyCheck(ICiBuildPlugin): self._formatted_file_error_count = len(formatted_files) if self._formatted_file_error_count > 0: + logging.error( + "Visit the following instructions to learn " + "how to find the detailed formatting errors in Azure " + "DevOps CI: " + "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Code-Formatting#how-to-find-uncrustify-formatting-errors-in-continuous-integration-ci") self._tc.LogStdError("Files with formatting errors:\n") if self._output_file_diffs: