test CICD x nexus upload develop

This commit is contained in:
Samuele Locatelli
2021-11-25 08:53:19 +01:00
parent 59239b70ae
commit d0ffd6ae90
+19 -19
View File
@@ -176,25 +176,25 @@ Net:install:
- *nexusUpload
needs: ["Net:build"]
# Core:install:
# stage: installer
# tags:
# - win
# only:
# - develop
# - master
# needs: ["Core:build"]
# variables:
# APP_NAME: REMAN
# NEXUS_PATH: REMAN
# before_script:
# # - *nuget-fix
# # - dotnet restore
# script:
# - dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release REMAN/REMAN/REMAN.csproj -o:publish
# # qui il deploy su nexus...
# - *hashBuild
# - *nexusUpload
Core:install:
stage: installer
tags:
- win
only:
- develop
# - master
needs: ["Core:build"]
variables:
APP_NAME: REMAN
NEXUS_PATH: REMAN
before_script:
# - *nuget-fix
- dotnet restore
script:
- dotnet publish -p:PublishProfile=IISProfile.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release REMAN/REMAN/REMAN.csproj -o:publish
# qui il deploy su nexus...
- *hashBuild
- *nexusUpload
# VARIABILI
# Tema numero versione: si potrebbe usare la variabile CI_COMMIT_TAG con $env:CI_COMMIT_TAG, in questo caso SOLO SE c'è un tag sistema versione...