Altro test compilazione

This commit is contained in:
2022-06-07 16:06:43 +02:00
parent 869d5fc1fb
commit a50741f567
+39 -40
View File
@@ -77,32 +77,7 @@ stages:
- staging
- deploy
- release
UI:build:
stage: build
tags:
- win
variables:
APP_NAME: MP.MONO.UI
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
SIM:build:
stage: build
tags:
- win
variables:
APP_NAME: MP.MONO.SIM
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
DECODER:build:
stage: build
tags:
@@ -115,6 +90,30 @@ DECODER:build:
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
SIM:build:
stage: build
tags:
- win
variables:
APP_NAME: MP.MONO.SIM
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
UI:build:
stage: build
tags:
- win
variables:
APP_NAME: MP.MONO.UI
before_script:
- *nuget-fix
- dotnet restore MP.MONO.ALL.sln
script:
- dotnet build $env:APP_NAME/$env:APP_NAME.csproj
UI:staging:
stage: staging
tags:
@@ -142,21 +141,6 @@ UI:deploy:
# IIS DEV
- dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
SIM:release:
stage: release
tags:
- win
only:
- main
variables:
APP_NAME: MP.MONO.SIM
needs: ["SIM:build"]
script:
- dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj
- *zipper
- *hashBuild
- *nexusUpload
DECODER:release:
stage: release
tags:
@@ -172,6 +156,21 @@ DECODER:release:
- *hashBuild
- *nexusUpload
SIM:release:
stage: release
tags:
- win
only:
- main
variables:
APP_NAME: MP.MONO.SIM
needs: ["SIM:build"]
script:
- dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj
- *zipper
- *hashBuild
- *nexusUpload
UI:release:
stage: release
tags: