Add wwwroot verification step after publish to diagnose missing static files
This commit is contained in:
Vendored
+1
@@ -36,6 +36,7 @@ pipeline {
|
|||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
steps {
|
steps {
|
||||||
bat 'dotnet publish src\\PowderCoating.Web\\PowderCoating.Web.csproj -c Release -r linux-x64 --self-contained false -o publish'
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user