[JENKINS-23476] git-client plugin timeout default is not configurable in a standard manner

Aperta
#1,444 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
git, java
Ambito
devops, tooling

Direzione di ricerca

Nell’issue non sono indicati file, test o punti di ingresso. Inizia individuando il timeout predefinito del plugin git-client e la relativa configurazione dei job, quindi determina come dovrebbe funzionare un’impostazione globale standard o il supporto allo slicing della configurazione; il lavoro è completato quando gli amministratori possono modificare il valore predefinito senza argomenti specifici per job o argomenti di avvio del servizio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

component:configurationslicing-plugin component:git-client-plugin imported-jira-issue priority:major resolution:unresolved

Default timeout value for git operations is 10 mins, which can be modified on a per job basis.

Having set up many jobs, our repo history has outgrown the 10 minute limit, so many jobs now fail due to timeout.

Either I should be able to change all jobs using configuration slicing, or I should be able to change the default behaviour of the plugin.

There is a workaround to set the timeout in the JAVA_ARGS/JAVA_OPTS for the jenkins service start script, and for each slave in the slave configuration, but these make our jenkins server non-portable, which is a requirement.


Originally reported by charlie_ecc, imported from: git-client plugin timeout default is not configurable in a standard manner
  • assignee: mgaunin
  • status: Open
  • priority: Major
  • component(s): configurationslicing-plugin, git-client-plugin
  • label(s): configuration, git, plugin, slicing
  • resolution: Unresolved
  • votes: 9
  • watchers: 12
  • imported: 20251211-071809
Raw content of original issue

Default timeout value for git operations is 10 mins, which can be modified on a per job basis.

Having set up many jobs, our repo history has outgrown the 10 minute limit, so many jobs now fail due to timeout.

Either I should be able to change all jobs using configuration slicing, or I should be able to change the default behaviour of the plugin.

There is a workaround to set the timeout in the JAVA_ARGS/JAVA_OPTS for the jenkins service start script, and for each slave in the slave configuration, but these make our jenkins server non-portable, which is a requirement.

  • environment: All (tested in Linux version 3.2.0-4-amd64 ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.57-3+deb7u1)
Lingua principale
Java
Stelle
152
Fork
404
Merge medio
2g 7h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jenkinsci/git-client-plugin

Tutte le issue di jenkinsci/git-client-plugin

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.