Jenkinsfile从quay.io触发器插件触发一个工作

我正试图从一个自由式项目转移到多分支pipe道构build。 当我将新的容器推送到我的Quay.io存储库时,我想让我的Jenkinsfile触发。 在Freestyle项目中,我可以用Quay.io触发器插件来完成这个任务。 转到多分支构buildpipe道我已经find了这个post ,描述了如何在dockerhub触发器上触发。 我还使用了Jenkinspipe道语法“向导”来生成要添加到我的Jenkins文件中的代码:

properties([[$class: 'ScannerJobProperty', doNotScan: false], [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], [$class: 'ThrottleJobProperty', categories: [], limitOneJobWithMatchingParams: false, maxConcurrentPerNode: 0, maxConcurrentTotal: 0, paramsToUseForLimit: '', throttleEnabled: false, throttleOption: 'project'], pipelineTriggers([[$class: 'QuayIoTrigger', repositories: ['hostedsparkbots/janitorbot-timer', 'hostedsparkbots/janitorbot', 'hostedsparkbots/sparky']]])]) 

在上面的情况下,当我扫描我的github存储库时,我从jenkins控制台上得到了一个backtraces

 java.lang.IllegalArgumentException: java.lang.ClassCastException@712ddbf9 at sun.reflect.GeneratedMethodAccessor4447.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jenkinsci.plugins.structs.describable.Setter$1.set(Setter.java:33) at org.jenkinsci.plugins.structs.describable.DescribableModel.injectSetters(DescribableModel.java:338) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:261) Caused: java.lang.IllegalArgumentException: Could not instantiate {repositories=[hostedsparkbots/janitorbot-timer, hostedsparkbots/janitorbot, hostedsparkbots/sparky]} for QuayIoTrigger(repositories?: String[]) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:264) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:380) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerceList(DescribableModel.java:461) at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:365) at org.jenkinsci.plugins.structs.describable.DescribableModel.buildArguments(DescribableModel.java:318) at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:259) Caused: java.lang.IllegalArgumentException: Could not instantiate {triggers=[{$class=QuayIoTrigger, repositories= 

有没有人真的在Jenkinsfile中有这个工作?