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'