Test pubblicazione OVH

This commit is contained in:
Samuele Locatelli
2022-04-11 19:40:46 +02:00
parent 60ca965dad
commit 4076bbfec9
4 changed files with 47 additions and 46 deletions
+44 -44
View File
@@ -122,66 +122,66 @@ WebLCP:IIS01:deploy:
- '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
needs: ["WebLCP:build"]
WebLCP:IIS02:deploy:
stage: deploy
tags:
- win
variables:
APP_NAME: WebLCP
except:
refs:
- main
- master
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore INTERFACE/$env:SOL_NAME.sln -Verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
needs: ["WebLCP:build"]
WebLCP:IIS03:deploy:
stage: deploy
tags:
- win
variables:
APP_NAME: WebLCP
except:
refs:
- main
- master
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore INTERFACE/$env:SOL_NAME.sln -Verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
needs: ["WebLCP:build"]
# WebLCP:OVH:release:
# stage: release
# WebLCP:IIS02:deploy:
# stage: deploy
# tags:
# - win
# only:
# variables:
# APP_NAME: WebLCP
# except:
# refs:
# - main
# - master
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore INTERFACE/$env:APP_NAME.sln -Verbosity quiet'
# - '& "$env:NUGET_PATH" restore INTERFACE/$env:SOL_NAME.sln -Verbosity quiet'
# - *version-fix
# script:
# - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=OVH-PROD.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
# script:
# - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
# needs: ["WebLCP:build"]
# WebLCP:IIS03:deploy:
# stage: deploy
# tags:
# - win
# variables:
# APP_NAME: WebLCP
# except:
# refs:
# - main
# - master
# before_script:
# - *nuget-fix
# - '& "$env:NUGET_PATH" restore INTERFACE/$env:SOL_NAME.sln -Verbosity quiet'
# - *version-fix
# script:
# - '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS03.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
# needs: ["WebLCP:build"]
WebLCP:OVH:release:
stage: release
tags:
- win
except:
refs:
- main
- master
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore INTERFACE/$env:APP_NAME.sln -Verbosity quiet'
- *version-fix
script:
- '& "$env:MSBUILD_PATH" /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=OVH.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /verbosity:minimal INTERFACE/$env:APP_NAME/$env:APP_NAME.csproj'
needs: ["WebLCP:build"]
WebLCP:File:release:
stage: release
tags:
- win
variables:
APP_NAME: WebLCP
except:
only:
refs:
- main
- master
@@ -43,11 +43,11 @@ modificando il file MSBuild. Per altre informazioni su questo argomento, vedere
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<EnableMsDeployAppOffline>false</EnableMsDeployAppOffline>
<PrecompileBeforePublish>true</PrecompileBeforePublish>
<EnableUpdateable>true</EnableUpdateable>
<DebugSymbols>false</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<EnableMsDeployAppOffline>false</EnableMsDeployAppOffline>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)AdmodellingConnectionString-Web.config Connection String" />
@@ -14,7 +14,7 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<MSDeployServiceURL>https://172.16.0.214:8172/MsDeploy.axd</MSDeployServiceURL>
<DeployIisAppPath>admodelling.org</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<SkipExtraFilesOnServer>true</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>steamware</UserName>
+1
View File
@@ -302,6 +302,7 @@
<DependentUpon>DS_App.xsd</DependentUpon>
</Content>
<Content Include="logs\PlaceHolder.file" />
<None Include="Properties\PublishProfiles\FileExport.pubxml" />
<None Include="Properties\PublishProfiles\IIS01.pubxml" />
<None Include="Properties\PublishProfiles\IIS03.pubxml" />
<None Include="Properties\PublishProfiles\IIS02.pubxml" />