From 02211f0aec5cc14d6cf6b5fd26b738fa82ba00c5 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 19 Mar 2018 12:25:22 +0100 Subject: [PATCH] Aggiuta copia report POST BUILD --- CMS_SC/CMS_SC.csproj | 25 +- .../CMS}/ReportFull_Vers3.rdl | 0 .../{Reports => Resources/CMS}/Report_C.rdl | 0 .../CMS/Report_C.rdlc} | 0 .../CMS/Report_F.rdl} | 0 CMS_SC/Resources/CMS/Report_F.rdlc | 1499 +++++++++++++++++ CMS_SC/Resources/CMS/Report_S.rdl | 1499 +++++++++++++++++ CMS_SC/Resources/CMS/Report_S.rdlc | 1499 +++++++++++++++++ CMS_SC/Web.config | 4 +- CMS_SC/bin/CMS_SC.dll.config | 4 +- CMS_SC/setupTgt.bat | 27 + Jenkinsfile | 2 +- 12 files changed, 4546 insertions(+), 13 deletions(-) rename CMS_SC/{Reports => Resources/CMS}/ReportFull_Vers3.rdl (100%) rename CMS_SC/{Reports => Resources/CMS}/Report_C.rdl (100%) rename CMS_SC/{Reports/Report_F.rdl => Resources/CMS/Report_C.rdlc} (100%) rename CMS_SC/{Reports/Report_S.rdl => Resources/CMS/Report_F.rdl} (100%) create mode 100644 CMS_SC/Resources/CMS/Report_F.rdlc create mode 100644 CMS_SC/Resources/CMS/Report_S.rdl create mode 100644 CMS_SC/Resources/CMS/Report_S.rdlc create mode 100644 CMS_SC/setupTgt.bat diff --git a/CMS_SC/CMS_SC.csproj b/CMS_SC/CMS_SC.csproj index f4d15f4..cf21b00 100644 --- a/CMS_SC/CMS_SC.csproj +++ b/CMS_SC/CMS_SC.csproj @@ -326,18 +326,23 @@ - + + Designer + + + + Always Designer - + Designer - - + + @@ -488,6 +493,7 @@ + Web.config @@ -994,11 +1000,11 @@ - + Designer - - - + + + @@ -1065,6 +1071,9 @@ + + "$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)" + - + diff --git a/CMS_SC/bin/CMS_SC.dll.config b/CMS_SC/bin/CMS_SC.dll.config index a4fac34..bb83e40 100644 --- a/CMS_SC/bin/CMS_SC.dll.config +++ b/CMS_SC/bin/CMS_SC.dll.config @@ -124,9 +124,9 @@ --> - + diff --git a/CMS_SC/setupTgt.bat b/CMS_SC/setupTgt.bat new file mode 100644 index 0000000..cc32ca1 --- /dev/null +++ b/CMS_SC/setupTgt.bat @@ -0,0 +1,27 @@ +@echo off +echo Effettua setup dei file specifici per ambienti cliente POST build installer: verifica da nome configurazione %1 + +REM INIZIO eliminando i files che COMUNQUE devo copiare x target... + +if %1 == "Release" goto Release +if %1 == "Debug" goto Debug +if %1 == "CMS" goto CMS + +:Release +echo Release: nulla da copiare +goto END + +:Debug +echo Debug: nulla da copiare +goto END + +:CMS +echo CMS: copio files CMS +del /F /Q %2"Reports\*.rdlc" +REM del /F /Q %2"DATA\CONF\*.*" +copy %2"Resources\CMS\*.rdlc" %2"Reports\" +goto END + + +:END +echo Fatto! \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 0a54d4d..b93db42 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=4243']) { + withEnv(['NEXT_BUILD_NUMBER=4244']) { // env.versionNumber = VersionNumber(versionNumberString : '3.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '3.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'CMS-SC'