update x deploy su IIS01 + preparazione x deploy online x ALUMAT
This commit is contained in:
@@ -5,17 +5,17 @@
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="Environment" value="SteamWare - IIS01" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="DbConfConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="AppConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="TestAppConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod_test;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="DbConfConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="AppConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="TestAppConnectionString" value="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod_test;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="stampanteRichiesteMtz" value="null" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GIMConnectionString" connectionString="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
<add name="GIM_dataLayer.Properties.Settings.GIMConnectionString" connectionString="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
|
||||
<add name="GIMConnectionString" connectionString="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
||||
<add name="GIM_dataLayer.Properties.Settings.GIMConnectionString" connectionString="Data Source=SQL2012PROD;Initial Catalog=Somaschini_GIM_ITA_prod;Persist Security Info=True;User id=sa;Password=keyhammer16;MultipleActiveResultSets=True;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
|
||||
</connectionStrings>
|
||||
<system.web>
|
||||
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
||||
|
||||
Vendored
+49
-37
@@ -11,7 +11,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=585']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=587']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
@@ -81,55 +81,67 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Installers') {
|
||||
// agent any
|
||||
stage('RemoteDeploy') {
|
||||
agent any
|
||||
steps {
|
||||
script {
|
||||
/* compilo installers in base al BRANCH del cliente... */
|
||||
if (env.BRANCH_NAME == "ALUMAT-TEST") {
|
||||
/* CAMBIO numero versione in file sorgente!!! */
|
||||
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
|
||||
bat "e:\\nuget.exe restore ${WORKSPACE}\\WebGIM.sln"
|
||||
parallel (
|
||||
PIC: {
|
||||
sleep 0
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=Alumat-TEST.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=PROD-OVH /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GIM_site/GIM_site.csproj"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else if (env.BRANCH_NAME == "ALUMAT-PROD") {
|
||||
/* CAMBIO numero versione in file sorgente!!! */
|
||||
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
|
||||
bat "e:\\nuget.exe restore ${WORKSPACE}\\WebGIM.sln"
|
||||
parallel (
|
||||
PIC: {
|
||||
sleep 0
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=Alumat-PROD.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=DEMO-OVH /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GIM_site/GIM_site.csproj"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else{
|
||||
echo 'Questo BRANCH non necessita di RemoteDeploy...'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Installers') {agent any
|
||||
// steps {
|
||||
// script {
|
||||
// /* compilo installers in base al BRANCH del cliente... */
|
||||
// if (env.BRANCH_NAME == "Donati") {
|
||||
// if (env.BRANCH_NAME == "ALUMAT-TEST") {
|
||||
// /* CAMBIO numero versione in file sorgente!!! */
|
||||
// bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
|
||||
// bat "e:\\nuget.exe restore ${WORKSPACE}\\WebGIM.sln"
|
||||
// parallel (
|
||||
// LANDING: {
|
||||
// sleep 5
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-LAND.zip /p:DeployIisAppPath=\"Default Web Site/MP/LAND\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP/MP.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-LAND\" "
|
||||
// },
|
||||
// ADMIN: {
|
||||
// PIC: {
|
||||
// sleep 0
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-ADM.zip /p:DeployIisAppPath=\"Default Web Site/MP/ADM\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-Admin/MP-Admin.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP-Admin\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-ADM\" "
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=Alumat-TEST.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=PROD-OVH /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GIM_site/GIM_site.csproj"
|
||||
// },
|
||||
// IO: {
|
||||
// failFast: false)
|
||||
// }
|
||||
// else if (env.BRANCH_NAME == "ALUMAT-PROD") {
|
||||
// /* CAMBIO numero versione in file sorgente!!! */
|
||||
// bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
|
||||
// bat "e:\\nuget.exe restore ${WORKSPACE}\\WebGIM.sln"
|
||||
// parallel (
|
||||
// PIC: {
|
||||
// sleep 0
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-IO.zip /p:DeployIisAppPath=\"Default Web Site/MP/IO\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-IO/MP-IO.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP-IO\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-IO\" "
|
||||
// },
|
||||
// MON: {
|
||||
// sleep 3
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-MON.zip /p:DeployIisAppPath=\"Default Web Site/MP/MON\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-MON/MP-MON.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP-MON\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-MON\" "
|
||||
// },
|
||||
// SITE: {
|
||||
// sleep 1
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-SITE.zip /p:DeployIisAppPath=\"Default Web Site/MP/SITE\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-Site/MP-Site.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP-Site\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-SITE\" "
|
||||
// },
|
||||
// TABLET: {
|
||||
// sleep 2
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Donati /p:PublishProfile=Donati.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/Donati/${env.versionNumber}/MP-TAB.zip /p:DeployIisAppPath=\"Default Web Site/MP/TAB\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-Tablet/MP-Tablet.csproj"
|
||||
// /*echo 'Copia !'*/
|
||||
// bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\MP-Tablet\\ReleaseClienti\\Donati\" \"E:\\Staging\\byProd\\MP\\Donati\\MP-TAB\" "
|
||||
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=Alumat-PROD.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=DEMO-OVH /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ GIM_site/GIM_site.csproj"
|
||||
// },
|
||||
// failFast: false)
|
||||
// }
|
||||
// else{
|
||||
// echo 'Questo BRANCH non necessita di installer...'
|
||||
// echo 'Questo BRANCH non necessita di RemoteDeploy...'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user