We edited the config and it broke the git repo: 13:32:35 koha_1 | error: unable to normalize alternate object path: /srv/jenkins/workspace/Koha_Source/.git/objects 13:32:35 koha_1 | fatal: not a tree object 13:32:35 koha_1 | [12:29:31] xt/check_makefile.t So tests were not running correctly
Related to https://tree.taiga.io/project/koha-ils/task/328 and bug 36381
Created attachment 179167 [details] [review] Bug 39304: Make sure git commands return something Jenkins is not failing when git command fails. We edited the config and it broke the git repo: 13:32:35 koha_1 | error: unable to normalize alternate object path: /srv/jenkins/workspace/Koha_Source/.git/objects 13:32:35 koha_1 | fatal: not a tree object 13:32:35 koha_1 | [12:29:31] xt/check_makefile.t So tests were not running correctly Maybe it will be a problem for people running the tests without being inside a git repo, but for now we need to ensure the community CI does what we think it does.
Created attachment 181148 [details] [review] Bug 39304: Make sure git commands return something Jenkins is not failing when git command fails. We edited the config and it broke the git repo: 13:32:35 koha_1 | error: unable to normalize alternate object path: /srv/jenkins/workspace/Koha_Source/.git/objects 13:32:35 koha_1 | fatal: not a tree object 13:32:35 koha_1 | [12:29:31] xt/check_makefile.t So tests were not running correctly Maybe it will be a problem for people running the tests without being inside a git repo, but for now we need to ensure the community CI does what we think it does. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(In reply to Jonathan Druart from comment #2) > Maybe it will be a problem for people running the tests without being > inside a git repo, but for now we need to ensure the community CI does > what we think it does. Without the git repo or even without git, running the test makes no sense whether it fails or passes. So looks good to me.
Pushed for 25.05! Well done everyone, thank you!