Resolution
Jenkins is written in Java and most of the plugins are written in Java too. Some plugins are written in Ruby and are depending on the Ruby Runtime Plugin to run. This plugin is providing the Ruby runtime as well as the necessary bindings for plugins written in Ruby to integrate with Jenkins.
There are several issues with this:
-
the Ruby Runtime Plugin is up for adoption and did not receive any update since 2016.
-
mixing up Ruby Runtime and Java Runtime is adding complexity and potential bugs.
The recommendation is therefore not to install any plugin depending on Ruby.
How to recognize such a plugin?
Look into the dependencies of the plugin if it depends on the Ruby Runtime Plugin. Note that no Tier 1 or Tier 2 plugin is depending on the Ruby Runtime Plugin.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.