It's all about the answers!

Ask a question

Question about RTC build engine Hudson/Jenkins Engine

Narayanan Potti (27037679) | asked Feb 13 '19, 3:31 p.m.


I have RTC 6.0.4 integrated with Jenkins to execute builds using Hudson/Jenkins Engine.

I would like to know what request is sent from RTC to Jenkins to execute build. After enabling cross site scripting (CSRF) in Jenkins the RTC cannot trigger build job in Jenkins without crumb in REST API call. I wanted to know how to set crumb in RTC REST API call. If there's a way in RTC to run REST API with crumb that'll be very helpful. Please let me know.



Accepted answer

permanent link
Peter Bouten (6817) | answered Feb 07 '20, 3:59 a.m.
 "users have to use username/API token instead of username/password in accordance with Jenkins recommendation"

I have followed this process:

"The API token is available in your personal configuration page. Click your name on the top right corner on every page, then click "Configure" to see your API token. (The URL $root/me/configure is a good shortcut.) You can also change your API token from here." 

Ralph Schoon selected this answer as the correct answer

One other answer

permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Jan 21 '20, 7:56 a.m.
Hi Narayanan,
This is known issue identified as Defect 493071: Error posting to Hudson/Jenkins job, no valid bread crumb was include. The current work on that is in progress.
Please let us know if that helps.

Your answer

Register or 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.