Team Concert Jenkins Plugin/RTC 4.0.5 - Cannot get Jenkins tutorials to work
Hello,
https://jazz.net/library/article/840
https://jazz.net/wiki/bin/view/Main/JazzScmWithJenkinsPlugin and I am unable to get either to work. I have been to the simplest HelloWorld example setup twice. When I activate submit build, RTC build is pending and Jenkins is never triggered. Has anyone else encountered this problem? |
2 answers
According to IBM support, Specer Murata provided the answer in a similar post:
https://jazz.net/forum/questions/129417/rtc-jenkins-integration-error-while-triggering-the-build but I have not yet tried it. The answer from Spencer was "There is a defect where RTC used to allow automatic address forwarding in previous releases so something like localhost:8080/hudson would redirect to localhost:8080/hudson/ but does not anymore, so the trailing slash has to be explicit in 4.0.3. The authenticating user in Hudson also must be allowed to update the build job as we require a build parameter be added to RTC enabled Hudson jobs. So I would recommend granting those permissions or trying the integration with an Hudson admin user first so it can setup the parameter and then change it to the build user." Go figure.. I will try it later. Comments
sam detweiler
commented Mar 08 '14, 6:27 p.m.
yes, mine was just stalled (on 4.0.5) because of the missing trailing slash..
|
I have been working this through an IBM PMR (I do not remember the number off hand and will post it later
But is far what we have determined is if Jenkins is executed via a command line against the jenkins.war file
the examples work. When jenkins.war gets dropped into the webapps folder of Tomcat the examples do not
work. More investigation is required. I will post more details later.
Comments
David Arnone
commented Mar 08 '14, 10:14 a.m.
When running jenkins from the command line as:
java -jar jenkins.war --httpPort=7080 >logs\jenkins.log 2>&1The examples work but when the jenkins.war file is dropped into a Tomcat webapps folder RTC does not trigger jenkins. The build remains indefinitely in a pending state. The PMR on this is 38655.
sam detweiler
commented Mar 08 '14, 10:28 a.m.
what port is tomcat running on? 7080?
|
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.
Comments
So I have gotten Nick Edgar's example documented here: https://jazz.net/wiki/bin/view/Main/JazzScmWithJenkinsPlugin to run from the Jenkins side - that is "Build with Parameters" from within Jenkins runs and reports back to RTC. But requesting the build from within RTC does not trigger Jenkins yet everything on the RTC side checks out. The engine connection to Jenkins is successful and the build definition retrieves all of the available jobs. There is no authentication so that is not the problem.
Hi David, is there anything relevant in the server-side log for RTC (ccm.log)?
Request build puts the build into the pending state and nothing from that action is written tot the ccm.log file