Re: Remote Build Using Curl

2015-08-20 Thread Greg Nifor
Caused by: java.lang.NullPointerException at hudson.model.FileParameterValue.lt;init(FileParameterValue.java:78) On Thursday, August 20, 2015 at 9:23:53 AM UTC-7, Greg Nifor wrote: Update: Still doesn't work json='{parameter: [{name: text, value: AA}, {name: file, value: file0}]}' url

Re: Remote Build Using Curl

2015-08-20 Thread Greg Nifor
what Jenkins version you are using, but you may want to check it out. If you are doing a parametrized build it looks to be a little more complicated and I don't see an example using -F Sent from my iPad On Aug 17, 2015, at 4:11 PM, Greg Nifor whiteho...@gmail.com javascript

Remote Build Using Curl

2015-08-17 Thread Greg Nifor
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

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
When I try that the variables are empty. On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote: You need to use -F for file and -F for data. Sent from my iPad On Aug 17, 2015, at 2:41 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: Is there a way to use curl to send

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
That didn't work. On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote: I think you need quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: curl -X POST

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
quote signs around each of the -F itemssuch as -F git=test Sent from my iPad On Aug 17, 2015, at 3:15 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
echo $root On Monday, August 17, 2015 at 12:32:48 PM UTC-7, walter.kelt wrote: What was the error message ? paste the most current command. Also, windows or Linux ? Sent from my iPad On Aug 17, 2015, at 3:27 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: That didn't work

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test -F root=root1 On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote: Please paste your full curl command Sent from my iPad On Aug 17, 2015, at 3:06 PM, Greg Nifor whiteho...@gmail.com javascript

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
to become Linux shell variables unless the code receiving the http request took the parameters and made them so. Does your http endpoint do so ? Seems I am missing something. Sent from my iPad On Aug 17, 2015, at 3:45 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: Linux, there's

Re: Remote Build Using Curl

2015-08-17 Thread Greg Nifor
. If you are doing a parametrized build it looks to be a little more complicated and I don't see an example using -F Sent from my iPad On Aug 17, 2015, at 4:11 PM, Greg Nifor whiteho...@gmail.com javascript: wrote: The job I'm triggering has two parameters, git and root. The curl sets

Jenkins Xcode Plugin Can't find Provisioning Profile

2015-06-19 Thread Greg Nifor
When I run /usr/bin/security find-identity -p codesigning -v I can see the provisioning profile. I copy and paste the name of the provisioning profile into the Code Signing Identity field under Code signing OS X keychain options of the Xcode plugin. When I run the job it fails with this

Logging Who Restarted Jenkins

2015-03-31 Thread Greg Nifor
Is there a way to log who ordered a Jenkins restart? The log right now just denotes that a restart happened. I would like something like Mar 30, 2015 9:57:01 PM INFO: Safe-restart started by GregWringle. Is there anyway I can implement this? -- You received this message because you are