Update x saltare controllo update all'avvio (fatto SOLO SU richiesta esplicita)

This commit is contained in:
Samuele E. Locatelli
2019-04-08 14:08:04 +02:00
parent 7420f57cc7
commit 6ef40c19fa
3 changed files with 3 additions and 17 deletions
Binary file not shown.
-14
View File
@@ -389,20 +389,6 @@ namespace IOB_WIN
IOB2START.Add(item);
}
}
// se NON sono in DEBUG faccio check update...
#if !(DEBUG)
try
{
// avvio autoupdater...
AutoUpdater.RunUpdateAsAdmin = utils.CRB("AUpdAsAdm");
AutoUpdater.Start(updateUrl);
}
catch(Exception exc)
{
lgError(string.Format("MainForm - AutoUpdater EXCEPTION in fase di chiamata URL di controllo versione:{0}{1}{2}", updateUrl, Environment.NewLine, exc));
}
#endif
}
#endregion
Vendored
+3 -3
View File
@@ -16,9 +16,9 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=369']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.2.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
withEnv(['NEXT_BUILD_NUMBER=371']) {
// env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO-IOB-WIN'
}
}