Jenkins pipeline - Can Workflow jobs be parameterized?

78 views
Skip to first unread message

Scott Richmond

unread,
Jan 16, 2016, 12:00:12 PM1/16/16
to Jenkins Users
I have created a simple Workflow job and want to be able to trigger it via URL with some parameters. However using the Parameterized job plugin doesn't appear to work. I filed a bug last week on it and it is currently blocking further development on my end. Has anyone found a workaround?

Craig Rodrigues

unread,
Jan 16, 2016, 2:28:58 PM1/16/16
to jenkins...@googlegroups.com
Hi,

Yes, workflows can be parameterized.  You must select, "This build is parameterized" in the configuration of the workflow.
The following link has a pointer to a workflow script I wrote which is parameterized, and even detects if certain parameters are set or not:

https://lists.freebsd.org/pipermail/freebsd-testing/2016-January/001285.html

--
Craig
Reply all
Reply to author
Forward
0 new messages