Re: Workflows and SCM Polling

2015-12-21 Thread Daniel Beck
Documentation:
https://github.com/jenkinsci/workflow-plugin/blob/master/scm-step/README.md#polling

> On 21.12.2015, at 17:05, Mark Bidewell  wrote:
> 
> I am considering Workflows to automate build and release.  Can a workflow be 
> called in a CI polling manner?  There is a "Poll SCM" build trigger but 
> nowhere to input SCM details.
> 
> What I would like to do is the following:
> 
> 1)  On SCM change execute a CI build.
> 2)  Between stages prompt for whether build should be released
> 3)  If the build is accepted, run the release stage, if not allow the build 
> to age out.
> 
> Is this a valid use case for workflows?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/fd8f20f8-c26e-4d38-baa1-12cf38efa615%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D5E1C440-0927-41B5-8558-8F9BA99957E6%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Workflows and SCM Polling

2015-12-21 Thread Andrew Bayer
I believe that if you pass "poll: true" to the "scm" step, it'll use that
particular scm config for polling.

A.

On Mon, Dec 21, 2015 at 11:05 AM, Mark Bidewell  wrote:

> I am considering Workflows to automate build and release.  Can a workflow
> be called in a CI polling manner?  There is a "Poll SCM" build trigger but
> nowhere to input SCM details.
>
> What I would like to do is the following:
>
> 1)  On SCM change execute a CI build.
> 2)  Between stages prompt for whether build should be released
> 3)  If the build is accepted, run the release stage, if not allow the
> build to age out.
>
> Is this a valid use case for workflows?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/fd8f20f8-c26e-4d38-baa1-12cf38efa615%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPbPdOaw-7aqitxi1wu9zvXUpASXx6s3mVG5Ensd0FfEu3-KYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Workflows and SCM Polling

2015-12-21 Thread Mark Bidewell
I am considering Workflows to automate build and release.  Can a workflow 
be called in a CI polling manner?  There is a "Poll SCM" build trigger but 
nowhere to input SCM details.

What I would like to do is the following:

1)  On SCM change execute a CI build.
2)  Between stages prompt for whether build should be released
3)  If the build is accepted, run the release stage, if not allow the build 
to age out.

Is this a valid use case for workflows?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fd8f20f8-c26e-4d38-baa1-12cf38efa615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.