Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 992561d29a | |||
| d4e1ebfcb4 | |||
| df765af8e3 | |||
| fc50be5deb |
@@ -24,21 +24,21 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<ObjectGroup Name="GIMConnectionString" Order="1" Enabled="True">
|
||||
<Destination Path="Data Source=51.254.23.3,50000;Initial Catalog=Alumat_WebGIM_Test;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<Object Type="DbDacFx">
|
||||
<PreSource Path="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
|
||||
<PreSource Path="Data Source=SQL2012DEV;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;MultipleActiveResultSets=True;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL2012DEV;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;MultipleActiveResultSets=True;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
<ObjectGroup Name="GIM_dataLayer.Properties.Settings.GIMConnectionString" Order="2" Enabled="True">
|
||||
<Destination Path="Data Source=51.254.23.3,50000;Initial Catalog=Alumat_WebGIM_Test;Persist Security Info=True;User ID=sa;Password=keyhammer16" />
|
||||
<Object Type="DbDacFx">
|
||||
<PreSource Path="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
|
||||
<PreSource Path="Data Source=SQL2012DEV;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
|
||||
<Source Path="$(IntermediateOutputPath)AutoScripts\GIM_dataLayer.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
|
||||
</Object>
|
||||
<UpdateFrom Type="Web.Config">
|
||||
<Source MatchValue="Data Source=SQL-STEAM\SQL2012;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;MultipleActiveResultSets=True;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
<Source MatchValue="Data Source=SQL2012DEV;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer;MultipleActiveResultSets=True;" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
|
||||
</UpdateFrom>
|
||||
</ObjectGroup>
|
||||
</Objects>
|
||||
|
||||
Vendored
+28
-36
@@ -11,7 +11,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=587']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=588']) {
|
||||
// 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'
|
||||
@@ -19,11 +19,11 @@ pipeline {
|
||||
}
|
||||
script {
|
||||
currentBuild.displayName = "${env.versionNumber}"
|
||||
if (env.BRANCH_NAME == "master") {
|
||||
currentBuild.description = "BUILD ${env.versionNumber}"
|
||||
if (env.BRANCH_NAME == "develop" || env.BRANCH_NAME.contains("DEMO") || env.BRANCH_NAME.contains("TEST")) {
|
||||
currentBuild.description = "TEST ${env.versionNumber}"
|
||||
}
|
||||
else {
|
||||
currentBuild.description = "TEST ${env.versionNumber}"
|
||||
currentBuild.description = "BUILD ${env.versionNumber}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,38 +114,30 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Installers') {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 == "SOMASCHINI-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=Somaschini /p:PublishProfile=Somaschini-ITA.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/SomaschiniITA/${env.versionNumber}/WebGIM.zip /p:DeployIisAppPath=\"Default Web Site/WebGIM\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ GIM_site/GIM_site.csproj"
|
||||
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GIM_site\\ReleaseClienti\\SomaschiniITA\" \"E:\\Staging\\byProd\\WebGIM\\SomaschiniITA\" "
|
||||
bat "E:\\Jenkins\\exportDropbox.bat \"${WORKSPACE}\\GIM_site\\ReleaseClienti\\SomaschiniITA\" \"E:\\Staging\\WebGIM\\SomaschiniITA\" "
|
||||
// dropbox configName: 'Donati', remoteDirectory: 'installers/MP-LAND', removePrefix: 'ReleaseClienti/Donati', sourceFiles: 'ReleaseClienti/Donati/**'
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else{
|
||||
echo 'Questo BRANCH non necessita di Installers...'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*stage('Archive') {
|
||||
steps {
|
||||
echo 'Archiviazione build Release'
|
||||
|
||||
Reference in New Issue
Block a user