Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Builds with string params #250

Open
mccartjm opened this issue Nov 3, 2017 · 0 comments
Open

Feature Request: Builds with string params #250

mccartjm opened this issue Nov 3, 2017 · 0 comments

Comments

@mccartjm
Copy link

mccartjm commented Nov 3, 2017

I am using the Extended Choice Parameter plugin:
https://wiki.jenkins.io/display/JENKINS/Extended+Choice+Parameter+plugin

and with this, you need to be able to add params to the url using the build path as opposed to the buildWithParams. Unless I am missing something, I didn't see a way to to this currently. I posted a link below and the curl command that would duplicate the action.

https://wiki.jenkins.io/pages/viewpage.action?pageId=75433084

Jobs with parameters
Also see Parameterized Build.
Simple example - sending "String Parameters":

curl -X POST JENKINS_URL/job/JOB_NAME/build \   --data token=TOKEN \   --data-urlencode json='{"parameter": [{"name":"id", "value":"123"}, {"name":"verbosity", "value":"high"}]}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants