Open zhantt1 opened 2 years ago
maybe you can try use my repo that fork the master branch,i fix that bug
is this issue fixed? i'm facing the same issue..
is this issue fixed? i'm facing the same issue..
maybe you can see i forked repo
hey , is anyone working on this issue?
Jenkins version: Jenkins 2.277.1 Dependency Version: 0.3.8
I tried to get an old job number using
getBuildByNumber()
:Calling
build.details();
throws:java.lang.NullPointerException: Cannot invoke "com.offbytwo.jenkins.model.Build.details()" because "build" is null
The job has 200+ builds, which I suspect may be the problem if Jenkins only returns at most 100 jobs.
The build is accessible using
getAllBuilds()
so my workaround is to use that method instead: