-
Bug
-
Resolution: Unresolved
-
Major
-
None
would be great to configure organizationChildTriggersProperty via CasC, like so maybe?
organizationChildTriggersProperty {
templates {
interval('1h')
}
}
- is blocked by
-
JENKINS-26535 DescribableHelper does not handle wildcards well
-
- Open
-
[JENKINS-59642] implement organizationChildTriggersProperty
Component/s | New: branch-api-plugin [ 18621 ] | |
Component/s | New: job-dsl-plugin [ 16720 ] |
Component/s | Original: configuration-as-code-plugin [ 23170 ] |
Description | Original: would be great to configure organizationChildTriggersProperty via CasC |
New:
would be great to configure organizationChildTriggersProperty via CasC, like so maybe? {code:java} organizationChildTriggersProperty { templates { interval('1h') } }{code} |
Assignee | Original: Ewelina Wilkosz [ ewel ] | New: Daniel Spilker [ daspilker ] |
Issue Type | Original: New Feature [ 2 ] | New: Bug [ 1 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Link | New: This issue is blocked by JENKINS-26535 [ JENKINS-26535 ] |
Component/s | New: structs-plugin [ 21442 ] |
Assignee | Original: Daniel Spilker [ daspilker ] | New: Günter Grodotzki [ lifeofguenter ] |
Comment |
[ You may give this a try using DSL configure:
configure { node -> def templates = node / 'properties' / 'jenkins.branch.OrganizationChildHealthMetricsProperty' / templates templates << 'com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric' { nonRecursive false } } configure { node -> def templates = node / 'properties' / 'jenkins.branch.OrganizationChildTriggersProperty' / templates templates << 'com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger' { spec('* * * * *') interval('300000') } } ] |