jenkinsci / jenkinsci/java-client-api

Is it possible to override the "Jenkins URL" configured in Jenkins?

Aperta
#420 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
913
Fork
466
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In our environment the optional "Jenkins URL" has been set - to allow embedding of a user addressable URL in emails etc (as far as I understand).

This gives me a problem when using this library from a different server-based environment, as the Job URL has this configured "Jenkins URL" applied to it. The resulting URL, which is used in `job.build(true)`, isn't addressable from my server.

If the "Jenkins URL" is removed then `job.build(true)` uses the address which my code supplies when creating the JenkinsServer.

Is there a way to stop the Jenkins URL (while it is set for other reasons) being used and always use the supplied address?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the JenkinsServer address supplied by the caller and the job.build(true) flow described in the issue. Trace where the configured Jenkins URL is applied to the job URL, then verify that builds can use the supplied address while the Jenkins URL remains configured for other purposes.

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

Valutazione

Stack tecnologico
java
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.