More progress, the error below can be resolved by passing --user "username:password" to curl. i.e.
curl -X POST http://jenkins.ourdomain.com/job/somejob/build?token=testtoken --user "username:password" However, the issue I have now is I can only get a job to work by specifying an existing node in the jobs configuration. I have to check the Restrict where this project can be run option and provide a hostname or label in the field Without that, the job fails. So is there a way to pass the above job command and to tell it which host jenkins is to deploy the job on? -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
