From 2277d78970ba6b345b4868cd3cab0aba9bc9683f Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 17 May 2022 16:06:52 +0200 Subject: [PATCH] correzione step icoel --- .gitlab-ci.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bddf6069..62cd1086 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -149,6 +149,20 @@ 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' +Icoel.Soap:build: + stage: build + tags: + - win + variables: + APP_NAME: Icoel.Soap + 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' + + IOB-MAN:deploy: stage: deploy tags: @@ -208,9 +222,13 @@ IOB-WIN-NEXT:deploy: Icoel:pages: stage: pages + tags: + - win + variables: + APP_NAME: Icoel.Soap script: - - docfx Icoel.Soap/docfx.json - - mv Icoel.Soap/_site public + - docfx $env:APP_NAME/docfx.json + - mv $env:APP_NAME/_site public artifacts: paths: - public