From 2d9d6057143d7f965a1dd08dc6d36dda30476864 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Tue, 19 Apr 2022 21:13:18 -0400 Subject: .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 --- .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.pytool') diff --git a/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py b/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py index 22cca0f..00d7886 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: -- cgit v1.1