From 680afb34c41c978b360045aaf709c167a169250a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Tue, 20 Jun 2023 09:08:27 -0400
Subject: [PATCH] misc: update i18n jenkinsfile

Change-Id: Ibe874ed3c906d785e4f6367c1c25871e8a8f3e4a
---
 _build/Jenkinsfile.i18n | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/_build/Jenkinsfile.i18n b/_build/Jenkinsfile.i18n
index 754d80f4..fa6c24e3 100644
--- a/_build/Jenkinsfile.i18n
+++ b/_build/Jenkinsfile.i18n
@@ -121,9 +121,10 @@ pipeline {
                                     git config user.name ${GIT_USER_NAME}
                                     git config user.email ${GIT_USER_EMAIL}
                                     git config --local core.hooksPath .git/hooks
-                                    gitdir=$(git rev-parse --git-dir); scp -p -P 29420 jenkins@review.jami.net:hooks/commit-msg ${gitdir}/hooks/
+                                    curl -Lo .git/hooks/commit-msg https://review.jami.net/tools/hooks/commit-msg
+                                    chmod +x .git/hooks/commit-msg
                                     git add locales
-                                    git commit -m'i18n: automatic bump'
+                                    git commit --author "${GIT_USER_NAME} ${GIT_USER_EMAIL}" -m'i18n: automatic bump'
                                     git push ${GIT_PUSH_URL} HEAD:refs/for/master
                                 """
                             }
-- 
GitLab