I have Job DSL in a Github Enterprise repo. I want to use that Job DSL to create jobs on Jenkins startup. I already have git repo credentials created using JCasC, pulling from AWS SSM. Once I have the Job DSL, I will use the DslScriptLoader function to parse.
How do I use Groovy to git clone
that repo to /tmp during the init.groovy.d post init stage, using credentials Jenkins already knows?