Target linux-x64 on build and publish for Azure Linux App Service

This commit is contained in:
2026-05-04 21:54:25 -04:00
parent 06c914e65c
commit 1392ddccda
Vendored
+2 -2
View File
@@ -20,7 +20,7 @@ pipeline {
stage('Restore & Build') {
steps {
bat 'dotnet restore PowderCoatingApp.sln'
bat 'dotnet build PowderCoatingApp.sln -c Release --no-restore'
bat 'dotnet build PowderCoatingApp.sln -c Release --no-restore -r linux-x64'
}
}
@@ -35,7 +35,7 @@ pipeline {
stage('Publish') {
steps {
bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release --no-build -o publish'
bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release --no-build -r linux-x64 --self-contained false -o publish'
}
}