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

RTC-Jenkins fails to write build label when buidl initiated from RTC

I have setup up an RTC Jenkins integration using maven.  It the simple compile and test example converting to a maven format.  When I initiate a build from RTC, the jenkins job succeeds and the RTC build result fails with the build label displaying "Jenkins/Hudson build not found!".  When the build is initiated from Jenkins, both results in RTC and Jenkins succeed with the build label showing the Jenkins build number as is expected.  I am using RTC 6.0.1 in WAS Liberty profile, Jenkins 1.652, TeamConcert Jenkins plugin 1.1.9.9, Windows 7 64 bit professional, tomcat 8.0.32, Team Concert native client, maven 3.3.9.  I have this same setup on a Mac which works.  I also have a PMR open on this, 26552,L6Q,000 but I thought I would add this to the forums anyway.

0 votes



2 answers

Permanent link
I believe I found the answer to issue.  The property com.ibm.rational.connector.hudson.queueOnly should be set to true in the build engine properties.

See work item comment 14.
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=320683

I set the property and now it works but it would be appreciated if Spencer Murata or someone on build would verify the solution here.

David

0 votes


Permanent link

Thanks very much for that comment David, thought buildResultPublisher just didn't work from Jenkins, you see the correct label appear if you monitor it, then it disappears right at the end, teasing you!.

Can't remember seeing mention of that property anywhere apart from here, but it works

without it the buildResultPublisher task just does not work from Jenkins, bit of a massive hole to fall in.

IBM - Can you please update your documentation. The Jenkins build engine should come with this property already on it in my view.

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
× 10,936
× 562
× 115
× 45

Question asked: Mar 31 '16, 6:52 p.m.

Question was seen: 4,276 times

Last updated: Jan 30 '18, 4:37 p.m.

Confirmation Cancel Confirm