See this Reddit post for details and example code: https://www.reddit.com/r/jenkinsci/comments/l0w4ju/job_dsl_plugin_reload_button_works_fine_on/
Basically, reloading