Thanks Andrew.
On Mon, Nov 21, 2016 at 2:24 PM, Andrew Bayer
wrote:
> So the symbol on SCMTrigger was originally "scm", which turned out not to
> work in Pipeline due to overlapping with the auto-generated "scm" global
> variable. I changed the symbol to "pollScm" as of core Jenkins 2.22, but
>
So the symbol on SCMTrigger was originally "scm", which turned out not to
work in Pipeline due to overlapping with the auto-generated "scm" global
variable. I changed the symbol to "pollScm" as of core Jenkins 2.22, but
that means it won't work in Declarative on earlier core versions. In
scripted P
Hi Daniel. Thanks for the suggestion. I tried pollSCM and pollScm. Both
are unsupported. The 'cron' trigger is in the list. Highlighted below.
java.lang.NoSuchMethodError: No such DSL method 'pollScm' found among steps
[VersionNumber, archive, bat, build, catchError, checkout, deleteDir, di
> On 17.11.2016, at 15:17, Tim Downey wrote:
>
> I went ahead and tried poll as a trigger, but as you can see, that is not
> supported. Supported methods within a triggers closure appear to be:
>
Should be 'pollSCM' (or 'pollScm'?). Note that the 'cron' trigger which you
know works is also
Hi all,
I'm using the pipeline model definition plugin (which is great btw!) to
specify my pipelines. I have a question about trigger though. I'd like to
use a poll based trigger instead of cron, but it's not clear on if it is
supported. Can anyone provide any feedback?
Here's the example f