would be great to configure organizationChildTriggersProperty via CasC, like so maybe?
DescribableHelper does not handle wildcards well
I tried the following;
and got this error:
19:54:09 ERROR: (bitbucket.groovy, line 61) No signature of method: periodicFolderTrigger() is applicable for argument types:
When I look at job-DSL api guide in my instance `organizationChildTriggersProperty` is listed, but it has no properties listed underneath it.
Is there perhaps a missing `@DataBoundConstructor` in the code to expose the triggers?
Looks like someone asked something similar here: https://gitter.im/jenkinsci/configuration-as-code-plugin?at=5d434c8c7a151629e107ea94
The problem is that the @DataBoundConstructor in jenkins.branch.OrganizationChildTriggersProperty uses type parameters which are not supported by Structs plugin (JENKINS-26535).
As a workaround, the constructor could probably be changed to List<Trigger> templates.