Update .gitlab-ci.yml file

This commit is contained in:
Marco Salvi
2022-03-31 11:10:29 +00:00
parent 08db55b69f
commit 40bcfde47c
+7 -2
View File
@@ -4,7 +4,8 @@ variables:
ASPNET_MERGE_PATH: 'C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools'
EXE_RELEASE_FOLDER: 'c:\Projetcs\Compiled\GPW\Release'
DEPLOY_FOLDER: 'c:\Projects\Deploy\GPW\Builds'
APP_NAME: 'EgtBeamwall'
APP_NAME: 'EgtBEAMWALL'
APP_NAMEG: 'EgtBEAMWALL'
NEW_REL: ''
OUTPUT_DIR: ''
NET_SHARE: '\\10.74.82.201\Artifacts'
@@ -17,6 +18,10 @@ variables:
SLEEP 2
net use Z: /delete
.fixNuget: &fixNuget
- |
$env:NUGET_PATH" restore "$env:APP_NAMEG.sln" -verbosity quiet
.MakeFolderM: &MakeFolderM
- |
new-item c:\EgtProg\EgtBEAMWALL -itemtype directory
@@ -57,7 +62,7 @@ SupervisorR:build:
variables:
APP_NAME: EgtBEAMWALL.Supervisor
before_script:
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.vbproj" -verbosity quiet'
- *fixNuget
- *MakeFolderM
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /verbosity:minimal /m'