After upgrading our jenkins master and plugins, some of our build jobs - specifically it seemed like most pipeline jobs - were stuck waiting for previous build to complete, even though it already completed. This seems to have been caused by JENKINS-46076. After donwngrading the plugin to version 2.32, all build were working correctly. From some testing, it seems that calling
Jenkins.instance.getItemByFullName(...).getBuildByNumber(..).isLogUpdated()
On the previous build (in the sample case build #185) returns true, although the build is completed and the log seems to have been completed. This issue happened immediately after restarting the jenkins instance with any of our pipeline jobs |