From 20933ec47cd99a18c9186a8fca2542c772adc6f7 Mon Sep 17 00:00:00 2001 From: Anupong Hompan Date: Tue, 21 Oct 2025 12:53:09 +0700 Subject: [PATCH] JK --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 88d0611..cf9669f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -181,7 +181,12 @@ pipeline { steps { sh ''' set -euo pipefail - dotnet publish -c Release -o out + # build only the app project + dotnet restore AS400API.csproj + dotnet build AS400API.csproj -c Release -warnaserror:false -p:TreatWarningsAsErrors=false + + # publish the app project (not the solution) + dotnet publish AS400API.csproj -c Release -o out --no-build ''' } post {