-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: urltrigger-plugin
-
None
Hey,
Â
this Plugin works fine (thanks for it!) if i configure the Job in the Admin UI. But we moved everything to "Jenkinsfile"s recently.Â
Unfortunately i am unable to describe it in a Jenkinsfile. Here is my configuration:
Â
Â
properties([
pipelineTriggers([
[
$class: 'org.jenkinsci.plugins.urltrigger.URLTrigger',
cronTabSpec: '0 * * * 1-5',
entries: [
[
$class: 'org.jenkinsci.plugins.urltrigger.URLTriggerEntry',
url: 'https://someurl.json',
checkLastModificationDate: true
],
[
$class: 'org.jenkinsci.plugins.urltrigger.URLTriggerEntry',
url: 'https://someurl.json',
checkLastModificationDate: true
]
]
]
])
])
Â
and the error i get:
org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.urltrigger.URLTriggerEntry
at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:247)
at org.jenkinsci.plugins.structs.describable.DescribableModel.<init>(DescribableModel.java:121)
what am i doing wrong?
any help is appreciated!