Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC jenkins build engine error

Hi,
Everything setup in jenkins and tested on jenkins (rtc plugin, build toolkit etc)
However when it comes to creating the build engine get the following error
When we try to connect we get this error: 

Connection test requested.
Connecting to: http://172.31.116.81:8080/jenkins
Exception: No Hudson/Jenkins header found! Test connection FAILED!

However, the headers are present on that URL:

any ideas?


0 votes



5 answers

Permanent link

got it working!!!

 

instead of:

http://172.31.116.81:8080/jenkins

should have been

http://172.31.116.81:8080/jenkins/?

1 vote


Permanent link
 Hi GK,  can you connect if you leave the /jenkins off the end of the URL?  Also, what version of RTC are you using?

0 votes

Comments

Rtc version 4.3 


I will try that and report back

Thanks


Permanent link

Hi ,

I am able to connect to Jenkins build engine by this resolution.

while trying to get the Job in build def it is listing the jobs as well. but the moment I select the job there is error occurred in the button same can be visible in the build requect error.

If I put only /  it will give me

character reference "&#x1f" is an invalid XML character.

if I provide /? in the URL then jobs are not getting listed. and the error in the button is changes to  

The entity "nbsp" was referenced, but not declared.

Thanks in Advance

Praveen

0 votes


Permanent link
Tested this with RTC 404 and Jenkins1.533
URL used was just address:port
example
localhost:8080
and it works fine connecting to jenkins and also get the jobs listed in Build Def without any error.

Can reproduce the problem you mention if i use
localhost:8080/?

so use
localhost:8080

0 votes


Permanent link

 Hello Friends,


I have installed RTC as well as Jenkins on my local machine. I tried to connect RTC in Jenkins via its ccm url and it is successful. Now I have created a build engine (Hudson/Jenkins) in RTC and given the jenkins url as http://<IP of my machin>:8080 (without /jenkins in url), but I am getting connection timeout error. However same url http://<IP>:8080 is working in browser and I am able to open jenkins.I have already tried below solution, but none is working. Please help me to resolve this error asap. 
(1) Given localhost instead of IP. But then its giving error localhost cannot resolve
(2) Added "/" one slash at the end or url
(3) Added /jenkins in the url (even though I am able to access jenkins without /jenkins in url), just to give try
(4) changed timeout setting form 30 to 1000 (or even 5000)
(5) Unchecked as well as checked Validate Certificate/URL
(6) Checked as well as unchecked authentication required etc
Below is the version details of Jenkins and RTC
Jenkin - ver 2.121.3
RTC - Version 5.0.2, Build ID RTC-I20141031-0926
Local Machine - Windows10
Error I am facing - Connection test requested. Connecting to: http://172.20.1.51:8080/
Exception: java.net.ConnectException: Connection timed out (Connection timed out)
Test connection FAILED!
When I hover to yellow trangle, it says "Hudson/Jenkins server may not be present or running". While jenkins is up and running.
After this solution, I need to configure a Job in Jenkins which just pull the source code (not build/compile) at local. So if possible, please help me with the configuration of this "Pull only" job on jenkins too. I have already installed RTC build tookkit in Jenkin. Thanks in advance.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 21 '13, 12:45 p.m.

Question was seen: 10,334 times

Last updated: Sep 12 '18, 12:15 p.m.

Confirmation Cancel Confirm