Merge branch 'SOMASCHINI-PROD' into develop

This commit is contained in:
Samuele E. Locatelli
2017-10-17 18:15:00 +02:00
Vendored
+23 -32
View File
@@ -114,38 +114,29 @@ 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\" "
// 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'