Is there a way to use curl to send both a file and string parameter. I can 
do each individually, but not together.

Works:

curl -X POST <jenkins_url>/job/<job>/buildWithParameters -u 
<user>:<password> -F file=@/path/to

curl -X POST <jenkins_url>/job/<job>/buildWithParameters -u 
<user>:<password> --data string0=foo --data string1=bar

Doesn't Work:

curl -X POST <jenkins_url>/job/<job>/buildWithParameters -u 
<user>:<password> -F file=@/path/to --data string0=foo --data string1=bar

The result I get is: Warning: You can only select one HTTP request!


Any ideas?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/65067202-61bf-40b8-8509-376d5ae79589%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to