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

Question about RTC build engine Hudson/Jenkins Engine

Hi

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.

Thanks

NP

1 vote


Accepted answer

Permanent link
 "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

1 vote


One other answer

Permanent link
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.

1 vote

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
× 12,023

Question asked: Feb 13 '19, 3:31 p.m.

Question was seen: 2,377 times

Last updated: Feb 07 '20, 3:59 a.m.

Related questions
Confirmation Cancel Confirm