Update YAML x gestione flusso MTC

This commit is contained in:
Samuele Locatelli
2025-01-08 18:57:00 +01:00
parent ff8fbb2088
commit 5b60ccac7a
+90 -33
View File
@@ -221,12 +221,12 @@ IOB-WIN-NEXT:build:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
IOB-WIN-WPS:build:
IOB-WIN-MTC:build:
stage: build
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
APP_NAME: IOB-WIN-MTC
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
@@ -247,6 +247,19 @@ IOB-WIN-PING:build:
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
IOB-WIN-WPS:build:
stage: build
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
# --------------------------------
# RELEASE
# --------------------------------
@@ -300,18 +313,18 @@ IOB-WIN-NEXT:release:
- *nexusUpload
- *SendToVersionsLog
IOB-WIN-WPS:release:
IOB-WIN-PING:release:
stage: release
needs: ["IOB-WIN-WPS:build"]
needs: ["IOB-WIN-PING:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
NEXUS_PATH: MAPO/IOB-WIN-WPS
APP_NAME: IOB-WIN-PING
NEXUS_PATH: MAPO/IOB-WIN-PING
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-WPS/*
- IOB-WIN-PING/*
when: always
before_script:
- *nuget-fix
@@ -325,19 +338,43 @@ IOB-WIN-WPS:release:
- *nexusUpload
- *SendToVersionsLog
IOB-WIN-PING:release:
IOB-WIN-MTC:release:
stage: release
needs: ["IOB-WIN-PING:build"]
needs: ["IOB-WIN-MTC:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-PING
NEXUS_PATH: MAPO/IOB-WIN-PING
APP_NAME: IOB-WIN-MTC
NEXUS_PATH: MAPO/IOB-WIN-MTC
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-PING/*
- IOB-WIN-MTC/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
- *cleanup-zip
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
- *zipper
- *hashBuild
- *nexusUpload
- *SendToVersionsLog
IOB-WIN-WPS:release:
stage: release
needs: ["IOB-WIN-WPS:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
NEXUS_PATH: MAPO/IOB-WIN-WPS
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-WPS/*
when: always
before_script:
- *nuget-fix
@@ -374,26 +411,6 @@ IOB-WIN-NEXT:docfx:
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
IOB-WIN-WPS:docfx:
stage: docfx
needs: ["IOB-WIN-WPS:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-WPS/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
IOB-WIN-PING:docfx:
stage: docfx
needs: ["IOB-WIN-PING:build"]
@@ -413,3 +430,43 @@ IOB-WIN-PING:docfx:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
IOB-WIN-MTC:docfx:
stage: docfx
needs: ["IOB-WIN-MTC:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-MTC
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-MTC/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica
IOB-WIN-WPS:docfx:
stage: docfx
needs: ["IOB-WIN-WPS:build"]
tags:
- win
variables:
APP_NAME: IOB-WIN-WPS
rules:
- if: $CI_COMMIT_BRANCH == 'master'
changes:
- IOB-WIN-WPS/*
when: always
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
script:
- docfx $env:APP_NAME/docfx.json
- mv $env:APP_NAME/_site "docfx"
- *DocReplica