This commit is contained in:
Anupong Hompan 2025-10-21 12:53:09 +07:00
parent 0a831496f9
commit 20933ec47c

7
Jenkinsfile vendored
View File

@ -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 {