Team Concert Jenkins Plugin/RTC 4.0.5 - Cannot get Jenkins tutorials to work
Hello,
I am working through the following Jenkins tutorials using Windows 7/RTC 4.0.5
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
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
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.
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
David Arnone
Mar 05 '14, 5:57 p.m.Nick Edgar
JAZZ DEVELOPER Mar 06 '14, 10:45 a.m.David Arnone
Mar 08 '14, 10:45 a.m.