Brilliant. Thanks!
On Monday, June 6, 2016 at 4:01:35 PM UTC+10, Beau Henderson wrote:
>
> Hello,
>
> I'm trying to kick off a build that will process a .csv. I can manually
> kick this off without issue from within the Jenkins interface but I'm
> having trouble kicking it off remotely. Here's my curl command:
>
> curl -H "Content-Length: 29563" -H "Content-Type: multipart/form-data"
> --form name=tmp-data --form file0=@/Users/XXX/Desktop/XXX.csv
> -Fjson='{"parameter": {"name": "name", "file": "file0"}}' -Fsubmit=Build
> https://ci.exampleurl.com/view/data-imports/job/ESX-VMware-Imports/build?token=SeCreTtoKenGo3sHer3
>
> This keeps returning a 404. The token is correct. I've tried many variants
> of the above as well as posting to buildWithParameters but same result.
>
> Any insight you folks might be able to shed would be appreciated!
>
> Thanks.
>
--
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/e517186f-33d4-433d-a7d7-a70aa26521bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.