From eca0f40e3b8a2903fcef6ea1acff901451241b3f Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 23 Nov 2018 11:51:42 +0100 Subject: [PATCH] Fix log verboso x vers 301... --- IOB-WIN/IobOSAI.cs | 7 +++++-- Jenkinsfile | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/IOB-WIN/IobOSAI.cs b/IOB-WIN/IobOSAI.cs index de25d9dc..21174422 100644 --- a/IOB-WIN/IobOSAI.cs +++ b/IOB-WIN/IobOSAI.cs @@ -549,7 +549,7 @@ namespace IOB_WIN // decodifico impiegando dictionary... cercando il TIPO di memoria & co... string bKey = ""; - string bVal = ""; + string bVal = ""; for (int i = 0; i < 8; i++) { bKey = string.Format("BIT{0}", i); @@ -565,7 +565,10 @@ namespace IOB_WIN try { currODL = utils.callUrl(urlGetCurrODL); - lgInfo(string.Format("Lettura ODL, {0} --> {1}", currIdxODL, currODL)); + if (utils.CRB("verbose")) + { + lgInfo(string.Format("Lettura ODL, {0} --> {1}", currIdxODL, currODL)); + } // provo a salvare nuovo ODL int.TryParse(currODL, out currIdxODL); } diff --git a/Jenkinsfile b/Jenkinsfile index 74d81b61..4c1fc227 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=300']) { + withEnv(['NEXT_BUILD_NUMBER=301']) { // env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.18.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO-IOB-WIN'