diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e55ad93b..59b493a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -221,6 +221,19 @@ IOB-WIN-FANUC: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-FILE:build: + stage: build + tags: + - win + variables: + APP_NAME: IOB-WIN-FILE + 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-WIN-FTP:build: stage: build tags: @@ -404,6 +417,31 @@ IOB-WIN-FANUC:release: - *nexusUpload - *SendToVersionsLog +IOB-WIN-FILE:release: + stage: release + needs: ["IOB-WIN-FILE:build"] + tags: + - win + variables: + APP_NAME: IOB-WIN-FILE + NEXUS_PATH: MAPO/IOB-WIN-FILE + rules: + - if: $CI_COMMIT_BRANCH == 'master' + changes: + - IOB-WIN-FILE/* + 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-FTP:release: stage: release needs: ["IOB-WIN-FTP:build"] @@ -698,6 +736,26 @@ IOB-WIN-FANUC:docfx: - mv $env:APP_NAME/_site "docfx" - *DocReplica +IOB-WIN-FILE:docfx: + stage: docfx + needs: ["IOB-WIN-FILE:build"] + tags: + - win + variables: + APP_NAME: IOB-WIN-FILE + rules: + - if: $CI_COMMIT_BRANCH == 'master' + changes: + - IOB-WIN-FILE/* + 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-FTP:docfx: stage: docfx needs: ["IOB-WIN-FTP:build"]