-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.18
Latest plugins installed as of 8-17-16
I was looking to use the new ability to trigger builds from a multi-branch project on a schedule.
To try to use it, I went to look for the docs for how to use it, but both the snippet generator and the doc failed.
For example, when you go to try to generate the trigger with a schedule of "H/15 * * * *", it generated the following:
properties [pipelineTriggers([]), [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], [$class: 'ThrottleJobProperty', categories: [], limitOneJobWithMatchingParams: false, maxConcurrentPerNode: 0, maxConcurrentTotal: 0, paramsToUseForLimit: '', throttleEnabled: false, throttleOption: 'project']]
So I then went to look at the pipeline syntax - but on that page, I then found the following:
{{$class: 'PipelineTriggersJobProperty'
triggers
Array/List:
java.lang.UnsupportedOperationException: do not know how to categorize attributes of type hudson.triggers.Trigger<?>
}}
I am also attaching a screenshot
- depends on
-
JENKINS-26535 DescribableHelper does not handle wildcards well
-
- Open
-
- is related to
-
JENKINS-29711 Snippet Generator: missing attribute names in single-entry forms
-
- Resolved
-
-
JENKINS-34005 Make WorkflowJob.triggers into a JobProperty
-
- Resolved
-
- links to
In the meantime, if anyone could give me an example of how you would configure a the project property "Build Periodically" – I would be appreciative.
With no snippet generator or syntax docs, I can not seem to find how to do this in any documentation.