Jenkins has groovy plugin and makes it possible to run groovy scripts remotely using following cli:
java -jar jenkins-cli.jar -s http://localhost:8080/ -noKeyAuth groovy local-script.groovy
This script will be executed RemoteClass context, but for the job-dsl scripts it makes sense run in JobParent class context.
Do you have any idea how to run job-dsl scripts on a remote jenkins without creating any jobs with job dsl script steps?
Or maybe it is possible to implement easily a command extension for the jenkins-cli with such a facility.