Im trying to use Jenkins Trigger builds remotely.
I have set up the my API token at MY USER -> configure -> API Token.
At my job i have set Trigger builds remotely (e.g., from scripts) and passed MY_TOKEN value there.
Now when i try to run the job via cURL call bellow, the python script that should receive the exposed arguments via sys.argv[] is not receiving the parameters sent on the cURL call as below.
If i run the job manualy providing the arguments as jenkins string parameters it runs smooth, receiving the arguments fine.
curl -X POST JENKINS_URL/JOB/buildWithParameters --user MY_USER:MY_TOKEN --data-urlencode json='{"parameter": [{"name":"folder", "value":"\\\\1234\\123\\12\\1\\"}, {"name":"schema", "value":"source"}]}'
folderandschemayour build parameter names? - Yogesh