The JobDSL Generator applies SSHAgent, injection of credentials and managed configfiles after the Release steps which require them. This makes the release fail if it depends on one of those like Maven Release with GPG keys etc.
Fix ordering of BuildWrappers in JobDSL Generator
is related to
CAM-8236Refactor JobDSL release steps for CamBPM Jenkins