From 1e22acf1dc9c8d52c56b6e0ec11295c11f42e6a9 Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Mon, 4 May 2026 22:48:39 -0400 Subject: [PATCH] Fix missing wwwroot: remove linux-x64 RID, explicitly xcopy wwwroot after publish --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6d30b38..cb1a0df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,8 +35,8 @@ pipeline { stage('Publish') { steps { - bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release -r linux-x64 --self-contained false -o publish' - bat 'dir publish\\wwwroot /s /b 2>nul | findstr /i "css\\|site.css\\|manifest.json\\|tag-input" || echo [WARN] wwwroot appears empty or missing' + bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release --self-contained false -o publish' + bat 'xcopy /E /Y /I src\\PowderCoating.Web\\wwwroot publish\\wwwroot\\' } }