Re: [workflow] SCM polling not working if build never done before?

2016-01-02 Thread Daniel Beck
On 02.01.2016, at 22:39, Craig Rodrigues wrote: > If I have a checkout() command directly in the workflow script itself, why > can't the workflow detect > that an SCM is in use? You mean the command that takes a bunch of parameters (including SCM type and URL) whose values may only be known d

Re: [workflow] SCM polling not working if build never done before?

2016-01-02 Thread Craig Rodrigues
On Sat, Jan 2, 2016 at 4:08 PM, Daniel Beck wrote: > Workflows use the previous (completed) build's checkouts to determine what > SCMs should participate in polling. Without such a build, it's not known > whether there's even an SCM in use. If I have a checkout() command directly in the workflo

Re: [workflow] SCM polling not working if build never done before?

2016-01-02 Thread Daniel Beck
Workflows use the previous (completed) build's checkouts to determine what SCMs should participate in polling. Without such a build, it's not known whether there's even an SCM in use. So the option with no previous (completed) build is to never build, or to always build, on polling. And with onl

[workflow] SCM polling not working if build never done before?

2016-01-02 Thread Craig Rodrigues
Hi, I have a workflow script and am using the checkout() function to checkout a workspace with Subversion: https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/build-test.groovy#L113 For this workflow, I have enabled SCM polling every 3 hours. I see this SCM polling log: https://jenki