Update gitlab con stages x ADAPTER.OPC

This commit is contained in:
Samuele Locatelli
2022-06-16 15:09:21 +02:00
parent ace5b46440
commit 3503f01d82
+45 -1
View File
@@ -88,6 +88,18 @@ stages:
- deploy
- pack
ADAPTER:build:
stage: build
tags:
- win
variables:
APP_NAME: MP.MONO.ADAPTER.OPC
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:
@@ -151,7 +163,23 @@ 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
ADAPTER:packDebug:
stage: pack
tags:
- win
only:
- develop
variables:
APP_NAME: MP.MONO.ADAPTER.OPC
APP_CONF: Debug
needs: ["ADAPTER:build"]
script:
- dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=$env:APP_CONF $env:APP_NAME/$env:APP_NAME.csproj
- *artifactZipper
- *hashBuild
- *nexusUpload
DECODER:packDebug:
stage: pack
tags:
@@ -201,6 +229,22 @@ UI:packDebug:
- *nexusUpload
ADAPTER:packRelease:
stage: pack
tags:
- win
only:
- main
variables:
APP_NAME: MP.MONO.ADAPTER.OPC
APP_CONF: Release
needs: ["ADAPTER:build"]
script:
- dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=$env:APP_CONF $env:APP_NAME/$env:APP_NAME.csproj
- *artifactZipper
- *hashBuild
- *nexusUpload
DECODER:packRelease:
stage: pack
tags: