jenkinsci / jenkinsci/java-client-api

Job.build(params) method should return the build number of the triggered jenkins job build.

Aperta
#343 5 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

Is there any way in which I can get the build number of the job build triggered by the **job.build(params)** call?

I need to know exactly the build number in order to check the build state and I cannot rely on job.details().getLastBuild().getNumber because someone might trigger the build for the same job in the same time.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.