Re: remote access api and curl

2016-09-14 Thread gessner . tim
More progress - I changed buildWithParameters to just build and it seems to work. No to replace strings with variables in the JSON string Tim On Wednesday, September 14, 2016 at 7:50:57 AM UTC-7, gessn...@gmail.com wrote: > > > > down votefavorite >

Re: remote access api and curl

2016-09-14 Thread gessner . tim
I have made progress - using --data-urlencode json="$Params" will trigger the build though the parameters I send over - P4USER and EMAIL_ADDR are blank in the environment variables. On Wednesday, September 14, 2016 at 7:50:57 AM UTC-7, gessn...@gmail.com wrote: > > > > down votefavorite >

remote access api and curl

2016-09-14 Thread gessner . tim
down votefavorite I am trying to write a bash script to start a build on Jenkins. It works but the problem I am having is with passing parameter values. I have: curl -X POST $Server -d token='MyToken' --da