jenkinsci / jenkinsci/java-client-api

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

Abierto
#343 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
913
Forks
466
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by tracing the job.build(params) call and reviewing how job.details().getLastBuild().getNumber is currently used. Done means the build triggered by the call can be identified reliably, including when concurrent builds are started, so its state can be checked without relying on the latest build.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
api, backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.