I want to fail the Jenkins build if during of execution "dotnet build", there will be compiler warning.
I try to use "Record the compiler warning..." in "Post-build step".
We have .editorconfig file for code style of our project. So if we will have warnings that noted in this file, my Jenkins build must be failed.