Hi, 

I have found solution but using different plugin and some more 
configuration. 

https://wiki.jenkins-ci.org/display/JENKINS/SiteMonitor+Plugin

*Install above plugin in Jenkins 1.*

*Here I have convert my remote Jenkins (Jenkins 2) machine to public IP. I 
can use it as website or server.*

*Here are some configuration in Jenkins 2 *



As per given above URL , create one URL (Jenkins URL) like below 

http://*.*.*.*:8090/job/remoteTriggerJob/buildWithParameters?token=abcToken&Name=remoteTriggerJob&delay=0
 
<http://192.168.16.138:8090/job/remoteTriggerJob/buildWithParameters?Name=remoteTriggerJob&delay=0>

Set 200 or 201 status code for response. 

*Note : above URL is customized as per my configuration. Change as per your 
configuration.*


On Wednesday, February 15, 2017 at 8:06:43 PM UTC+5:30, Sri Sayee Shyla 
Hari Laguduva Dhuvaraganath wrote:
>
> Did you find the solution to this issue? I am currently facing it and I am 
> unable to trigger the build
>
> Kindly share your solution with me, if you have found one. Thanks.
>
> On Thursday, December 15, 2016 at 10:50:29 AM UTC, Sagar Khalasi wrote:
>>
>> Yes Found same issue after disable all type security.  So is there any 
>> other way to trigger remote job?
>>
>> On Thursday, December 15, 2016 at 3:43:17 PM UTC+5:30, Sagar Khalasi 
>> wrote:
>>>
>>> Hi all,
>>>
>>> I am trying to follow 
>>> https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Remote+Trigger+Plugin
>>>  
>>> this plugin. 
>>> <https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Remote+Trigger+Plugin+this+plugin.>
>>>
>>> I have configure it as given. But still found issues like below.
>>>
>>> 1. Server returned HTTP response code: 403 for URL: 
>>> http://192.168.16.138:8090/job/remoteTriggerJob/buildWithParameters?Name=remoteTriggerJob&delay=0
>>>
>>>
>>> 2. Click on above link found this error
>>>
>>> You must use POST method to trigger builds. (From scripts you may 
>>> instead pass a per-project authentication token, or authenticate with your 
>>> API token.) If you see this page, it may be because a plugin offered a GET 
>>> link; file a bug report for that plugin.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> While click on Proceed link , Found build get triggers.
>>>
>>> Please resolve my issue.
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/73c4d881-344c-4391-a81f-510d6fb03074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to