From 7ade39e07f5c969f288f540fd2edeaa32cc1d47d Mon Sep 17 00:00:00 2001 From: Anupong Hompan Date: Tue, 21 Oct 2025 11:58:26 +0700 Subject: [PATCH] Update JK --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 10a2cb5..bef48a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -142,7 +142,9 @@ pipeline { /d:sonar.host.url="\$SONAR_HOST_URL" \ /d:sonar.login="\$SONAR_AUTH_TOKEN" - dotnet build -c Release /warnaserror- -p:TreatWarningsAsErrors=false + dotnet build -c Release \ + -p:TreatWarningsAsErrors=false \ + -warnaserror dotnet sonarscanner end /d:sonar.login="\$SONAR_AUTH_TOKEN" """