From cee5d3b0b0077182dfced5fb1d216a4ac168c05f Mon Sep 17 00:00:00 2001 From: Charles Gautier <33026375+chgautier@users.noreply.github.com> Date: Thu, 4 Aug 2022 09:09:05 +0200 Subject: [PATCH] Merge Hotfix mon 14520 rebuild symfony cache during upgrade (#11497) * chore(install): update version to 22.04.2 * Update Jenkinsfile --- Jenkinsfile | 2 +- www/install/insertBaseConf.sql | 2 +- www/install/php/Update-22.04.2.php | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 www/install/php/Update-22.04.2.php diff --git a/Jenkinsfile b/Jenkinsfile index acc1076da4e..dbc405468e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ def stableBranch = "22.04.x" def devBranch = "dev-22.04.x" env.REF_BRANCH = stableBranch env.PROJECT='centreon-web' -if (env.CHANGE_BRANCH.startsWith('hotfix-') || env.BRANCH_NAME.startsWith('release-')) { +if (env.BRANCH_NAME.startsWith("hotfix-") || env.BRANCH_NAME.startsWith("release-")) { env.BUILD = 'RELEASE' env.REPO = 'testing' env.DELIVERY_STAGE = 'Delivery to testing' diff --git a/www/install/insertBaseConf.sql b/www/install/insertBaseConf.sql index f79a5f37c2c..ccc87787142 100644 --- a/www/install/insertBaseConf.sql +++ b/www/install/insertBaseConf.sql @@ -2,7 +2,7 @@ -- Insert version -- -INSERT INTO `informations` (`key` ,`value`) VALUES ('version', '22.04.1'); +INSERT INTO `informations` (`key` ,`value`) VALUES ('version', '22.04.2'); -- -- Contenu de la table `contact` diff --git a/www/install/php/Update-22.04.2.php b/www/install/php/Update-22.04.2.php new file mode 100644 index 00000000000..8572f2a05df --- /dev/null +++ b/www/install/php/Update-22.04.2.php @@ -0,0 +1,20 @@ +