diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80e32f4a..cc285a84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,6 @@ variables: NEW_REL: '' NEXUS_PATH: 'MP-XXXX' APP_NAME: 'MP.Xxxx' - ZIP_NAME: '' # helper x fix pacchetti nuget da repo locale nexus.steamware.net .nuget-fix: &nuget-fix @@ -23,9 +22,9 @@ variables: # helper creazione hash files x IIS .hashBuild: &hashBuild - # $Target = $env:APP_NAME + "\ReleaseClienti\MAPO_PROD\" + $env:NEW_REL + "\" + $env:ZIP_NAME + ".zip" + # $Target = $env:APP_NAME + "\ReleaseClienti\MAPO_PROD\" + $env:NEW_REL + "\" + $env:APP_NAME + ".zip" - | - $Target = $env:APP_NAME + "\Release\" + $env:ZIP_NAME + ".zip" + $Target = $env:APP_NAME + "\Release\" + $env:APP_NAME + ".zip" $MD5 = Get-FileHash $Target -Algorithm MD5 $SHA1 = Get-FileHash $Target -Algorithm SHA1 New-Item $Target".md5" @@ -61,7 +60,7 @@ variables: $manData = $manData -replace "1.0.0.0", $VersNumb $manData = $manData -replace "{{DIRNAME}}", $env:NEXUS_PATH $manData = $manData -replace "{{BRANCHNAME}}", "$version/LAST" - $manData = $manData -replace "{{PACKNAME}}", $env:ZIP_NAME + $manData = $manData -replace "{{PACKNAME}}", $env:APP_NAME Set-Content -Path $FileManOut -Value $manData $clogData = Get-Content $FileCLogIn $clogData = $clogData -replace "{{CURRENT-REL}}", $VersNumb @@ -351,13 +350,12 @@ ADM:install: variables: APP_NAME: MP-ADM NEXUS_PATH: MP-ADM - ZIP_NAME: ADM before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["ADM:build"] @@ -373,13 +371,12 @@ IO:install: variables: APP_NAME: MP-IO NEXUS_PATH: MP-IO - ZIP_NAME: IO before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["IO:build"] @@ -395,13 +392,12 @@ SITE:install: variables: APP_NAME: MP-SITE NEXUS_PATH: MP-SITE - ZIP_NAME: SITE before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["SITE:build"] @@ -418,13 +414,12 @@ MON:install: variables: APP_NAME: MP-MON NEXUS_PATH: MP-MON - ZIP_NAME: MON before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["MON:build"] @@ -440,13 +435,12 @@ TAB:install: variables: APP_NAME: MP-TAB NEXUS_PATH: MP-TAB - ZIP_NAME: TAB before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["TAB:build"] @@ -462,13 +456,12 @@ MAG:install: variables: APP_NAME: MP-MAG NEXUS_PATH: MP-MAG - ZIP_NAME: MAG before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore MAPO.sln -verbosity quiet' - *version-fix script: - - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:ZIP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' + - '& "$env:MSBUILD_PATH" /p:m=4 /p:AspnetMergePath=$env:ASPNET_MERGE_PATH /T:Package /P:Configuration=Release /p:PublishProfile=SPS.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=Release/$env:APP_NAME.zip /p:DeployIisAppPath="Default Web Site/MP/ADM" /p:PackageAsSingleFile=True /p:OutputPath=bin/ /verbosity:minimal $env:APP_NAME/$env:APP_NAME.csproj' - *hashBuild - *nexusUpload needs: ["MAG:build"] diff --git a/VersGen/ChangeLog.html b/VersGen/ChangeLog.html index 3e830861..6be8fae5 100644 --- a/VersGen/ChangeLog.html +++ b/VersGen/ChangeLog.html @@ -1,5 +1,5 @@
- Server gestioen devices TAB per MAPO/MoonPro + Soluzione MAPO MES