jenkinsci / jenkinsci/java-client-api

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

Open
#343 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.