You might have an easier time parsing the XML results and using those in an 
Ant script. Ant works with XML much better than it does with JSON.

http://ant.apache.org/manual/Tasks/xmlproperty.html

-- Jerry


On Tuesday, August 6, 2013 11:15:17 AM UTC-4, Stephen Tunney wrote:
>
> I'm trying to use the URLTrigger.  I am able to successfully parse the 
> JSON results and get the build number, SCC change number and result out of 
> the JSON http response.
>
> My question is this:
> How to I access these parsed values in my Ant script?
>
> On Sunday, 22 April 2012 11:28:30 UTC-4, Steven wrote:
>>
>> I usually use the url trigger for any remote process triggering. But 
>> there are a number of triggers that could be used as well as the cli or the 
>> build url. 
>>
>> I like the url trigger because I can pass parameters and what triggered 
>> the build. 
>>
>> Steven 
>>
>> ________________________________________ 
>> From: jenkins...@googlegroups.com [jenkins...@googlegroups.com] On 
>> Behalf Of buildit [arvin...@gmail.com] 
>> Sent: Tuesday, April 17, 2012 4:35 PM 
>> To: jenkins...@googlegroups.com 
>> Subject: Trigger a downstream job which is on another Jenkins instance 
>>
>> Hi All, 
>>
>> I have 2 Jenkins instances.I have Jenkins for different projects.I need 
>> to 
>> kick of a downstream project which is on a different Jenkins instance 
>> once 
>> the upstream project build is successful. 
>>
>> For example project B is downstream to project A.I have project A on 
>> jenkins:8080 and project B on jenkins2:8180 I want project B to trigger 
>> automatically after project A is build is sucessful. 
>>
>> -- 
>> View this message in context: 
>> http://jenkins.361315.n4.nabble.com/Trigger-a-downstream-job-which-is-on-another-Jenkins-instance-tp4566275p4566275.html
>>  
>> Sent from the Jenkins users mailing list archive at Nabble.com.
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to