-
Bug
-
Resolution: Unresolved
-
Major
-
None
Hey there,
We have builds of a multibranch pipeline job which remove themselves with currentBuild.rawBuild.delete(). When accessing the multibranch pipeline job "Activity" or "Branches" views on the Blue Ocean interface, the builds or branches list remain empty and the plugin throws a IllegalStateException per entry:
It's logged as severe "Caught a IllegalStateException traversing the graph for run <build name>" (see in the source code). The legacy interface behaves as expected.
After creating a new branch with the same pipeline script but without the currentBuild.rawBuild.delete() mechanism, I noticed that the branch job itself is not subject to the IllegalStateException (but still both views are empty since other builds/branches throw).
Note that a topic related to that issue has been created on the Jenkins Users Google Group.