Add api/xml or api/json to the end of your URL (e.g. 
http://jenkins.node.com:80/job/api-tests/12/api/xml 
for build 12) and parse the *result* element out of that.

-- Jerry


On Tuesday, March 26, 2013 11:58:24 AM UTC-4, tetlika wrote:
>
> I need to run task on remote jenkins, and verify remotely if it 
> succeed or failed 
>
> how can I do that? 
>
> P.S. 
>
> I have found that I can do that by curl call e.g.: 
>
> curl --silent --user jenkins:password' --head 'http://jenkins.node.com: 
> 80/job/api-tests/build' 
>
> this triggers build on project api-tests, but do not found how to 
> verify if the  triggered build was successful or not 
>
> 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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to