Workflows and SCM Polling

30 views
Skip to first unread message

Mark Bidewell

unread,
Dec 21, 2015, 11:05:42 AM12/21/15
to Jenkins Users
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?

Andrew Bayer

unread,
Dec 21, 2015, 11:41:26 AM12/21/15
to jenkins...@googlegroups.com
I believe that if you pass "poll: true" to the "scm" step, it'll use that particular scm config for polling.

A.

--
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-use...@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.

Daniel Beck

unread,
Dec 21, 2015, 1:35:57 PM12/21/15
to jenkins...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages