Correzione x deploy debug/release (hope so)
This commit is contained in:
+24
-1
@@ -137,6 +137,30 @@ Runner:build:
|
||||
# - dotnet publish -p:PublishProfile=IIS01.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj
|
||||
|
||||
# #--------- Deploy --------- #
|
||||
Runner:deploy-dev:
|
||||
stage: deploy
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: Maat.Runner
|
||||
SOL_NAME: Maat.Runner
|
||||
INST_NAME: Maat.Installer
|
||||
only:
|
||||
- develop
|
||||
needs: ["Runner:build"]
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- dotnet restore $env:SOL_NAME.sln
|
||||
- *version-fix
|
||||
script:
|
||||
# pubblicazione come singleApp
|
||||
- dotnet publish -p:PublishProfile=SingleAppDebug.pubxml -p:RunCodeAnalysis=false -p:Configuration=Debug $env:APP_NAME/$env:APP_NAME.csproj
|
||||
# creazione installer WIX
|
||||
- dotnet build $env:INST_NAME/$env:INST_NAME.wixproj
|
||||
#- *artifactZipper
|
||||
- *hashBuild
|
||||
- *nexusUpload
|
||||
|
||||
Runner:deploy:
|
||||
stage: deploy
|
||||
tags:
|
||||
@@ -147,7 +171,6 @@ Runner:deploy:
|
||||
INST_NAME: Maat.Installer
|
||||
only:
|
||||
- main
|
||||
- develop
|
||||
needs: ["Runner:build"]
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
|
||||
Reference in New Issue
Block a user