fix pulizia xml pdb

This commit is contained in:
marco.salvi
2022-03-31 16:30:13 +02:00
parent 331b9341be
commit 89ab7bf961
+8 -4
View File
@@ -16,10 +16,14 @@ variables:
# helper x mount cartella Artifacts su truenas
.ReplicaCompiled: &ReplicaCompiled
- |
rm $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.*
rm $env:APP_NAME\bin\$env:ARCH64\$env:VERS_RD\*.*
rm -Recurse $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.*
rm -Recurse $env:APP_NAME\bin\$env:ARCH64\$env:VERS_RD\*.*
ROBOCOPY /E $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD Z:\$CI_COMMIT_BRANCH\$env:ARCH
ROBOCOPY /E $env:APP_NAME\bin\$env:ARCH64\$env:VERS_RD Z:\$CI_COMMIT_BRANCH\$env:ARCH64
rm -Recurse $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.xml
rm -Recurse $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.pdb
rm -Recurse $env:APP_NAME\bin\$env:ARCH64\$env:VERS_RD\*.xml
rm -Recurse $env:APP_NAME\bin\$env:ARCH64\$env:VERS_RD\*.pdb
SLEEP 2
net use Z: /delete
@@ -88,7 +92,7 @@ Supervisor:build:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH64" /p:OutputPath=bin/$env:ARCH64/$env:VERS_RD/ /verbosity:minimal /m'
- *ReplicaCompiled
- *cleanup-dir
ViewerOptimizer:build:
stage: build
@@ -107,4 +111,4 @@ ViewerOptimizer:build:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH64" /p:OutputPath=bin/$env:ARCH64/$env:VERS_RD/ /verbosity:minimal /m'
- *ReplicaCompileds2
- *cleanup-dir