new function to execute the Jenkins CLI

as we would like to execute the Jenkins CLI in our automation script, for example, call the existing CLI like "list-jobs", "create-job", etc.
the most important that Jenkins support an "Groovy" CLI allow us to manage Jenkins with much flexibility