I'm attempting to convert 200+ Jenkins jobs from their current GUI-made configurations to DSL scripts. It's a tedious process and really slow.
Jenkins is running on a Windows 2012 server. The Jenkins version is 1.650 and we are using the Job DSL plugin version 1.51.
We use the diskcheck plugin for all Jenkins jobs and I cannot for the life of me find anywhere online which explains calling this when using the DSL. The API viewer doesn't appear to include this plugin so I presume I need to use the configure block. I haven't had to do this yet for anything but regardless, can find nothing online explaining what this involves.
Does anyone know what I need to do? I just want to the job which is generated to check the disk space before running and to fail if it is below some threshold.
In general the information on using the configure block is pretty useless for someone who hasn't done this before so if anyone knows of any good documentation on this that would be appreciated too.