fix(jenkins): use GIT_TOKEN as credential ID for Gitea

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Martin Tahiraj
2026-04-02 14:41:54 +02:00
parent b6dc2aefe4
commit 88fe792ca0

4
ci/Jenkinsfile vendored
View File

@@ -30,7 +30,7 @@
*
* Credenziali Jenkins richieste
* ------------------------------
* gitea-credentials Username/Password — token Gitea (checkout + push)
* GIT_TOKEN Username/Password — token Gitea (checkout + push)
* registry-credentials Username/Password — Docker registry
*
* ============================================================================
@@ -465,7 +465,7 @@ else:
// Commit e push solo se ci sono modifiche staged
withCredentials([usernamePassword(
credentialsId: 'gitea-credentials',
credentialsId: 'GIT_TOKEN',
usernameVariable: 'GITEA_PUSH_USR',
passwordVariable: 'GITEA_PUSH_PSW'
)]) {