Good news regarding the merge. I am concerned this innocuous breaks the build for other PR :(
I really suspect CloudBees is using OpenJDK, that, for license reason, do not include JavaFX. If this is the case, temporary disabling the gradle module seems the right short-term move, while CB updates to Oracle's or OpenJFX matures enough.
Thanks for your review and involvement!