diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2022-04-19 21:13:18 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-22 17:52:26 +0000 |
commit | 2d9d6057143d7f965a1dd08dc6d36dda30476864 (patch) | |
tree | 03f1af3bba5a58d2429ed3712e9ee37b777f60dd /.pytool | |
parent | ee582858c4f43c63a1566f0c1c0aa8ace0e4a79c (diff) | |
download | edk2-2d9d6057143d7f965a1dd08dc6d36dda30476864.tar.gz |
.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 <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
Diffstat (limited to '.pytool')
-rw-r--r-- | .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py | 5 |
1 files changed, 5 insertions, 0 deletions
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:
|