Gestione TTL conteggio doc in coda parametrica + nuova vers numb
This commit is contained in:
Vendored
+1
-9
@@ -11,17 +11,9 @@ pipeline {
|
||||
stage('Checkout') {
|
||||
agent any
|
||||
steps {
|
||||
/* build delle SteamWare libs! */
|
||||
/*build 'SteamWare/SteamWareLib'*/
|
||||
/* copio le libs...*/
|
||||
// step([$class: 'CopyArtifact', fingerprintArtifacts: true, projectName: 'Steamware/SteamWareLib', selector: [$class: 'WorkspaceSelector'], target: '../Steamware/SteamWareLib'])
|
||||
|
||||
// mirroring directory x SteamWare Libs
|
||||
// bat "robocopy /MIR ..\\..\\SteamWare\\SteamWareLib ..\\SteamWare\\SteamWareLib || EXIT /B 0"
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=220']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=221']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '1.4.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2018-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '1.4.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2018-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'C.TRACK'
|
||||
|
||||
@@ -109,9 +109,10 @@ namespace MP_API.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
int ttlPrintCount = memLayer.ML.CRI("ttlPrintCount");
|
||||
// recupero da dbe e salvo
|
||||
answ = countWaitingDb;
|
||||
memLayer.ML.setRSV(redQueueCount, $"{answ}", 30);
|
||||
memLayer.ML.setRSV(redQueueCount, $"{answ}", ttlPrintCount);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
+2
-1
@@ -9,7 +9,8 @@
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
<add key="appName" value="MP-CTRACK" />
|
||||
<add key="appName" value="MP-MAG" />
|
||||
<add key="ttlPrintCount" value="5" />
|
||||
<add key="MagDataConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_MAG;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
Reference in New Issue
Block a user