[closed] How can I integrate a public GitHub repository with a trial RTC repository on jazz.net?
I am trying to do a proof of concept of the integration between RTC and GitHub where RTC uses the GitHub repo as its SCM repository.
First of all, is this possible, can these two entities comunicate with each other? I have validated that I can reach both using an SSL checker.
If a valid use case, then:
I have created a public GitHub repo and a trial RTC project area on Jazz.net. I have configured the projects according to my understanding of the instructions:
I have created the GH repo and have created a webhook, which uses the payload URL of:
Content Type: application/json
Secret Key is the one that I specified in RTC when registering the GH repo.
SSL verification is enabled.
I have registered the GH repo with the RTC project area:
URL: GitHub Repo
Key: "fee99ab174fa44b6a50a0ba4fb50e3ad"
GitHub Server Authorization Details:
Secret Key: defined
Git Server Authentication Details ( are both supposed to be defined or only one?)
GH username
GH "Personal Access Token" instead of password
Nothing under Advanced and nothing under Mapped Git References.
In the RTC Project Area the Everyone role has been given all Git permissions:
The "Require Work Item Hint Commit Comment" pre-condition has been defined: Always, Everyone
GitHub requests are Authorized
When I look at the details of the attempted deliveries in the webhook section of the GH repo I see a Requests tab but no Response tab.
I only get: "Couldn't resolve host name"
The question has been closed for the following reason: "Duplicate Question" by rschoon Nov 07 '17, 5:03 a.m.
One answer
Hi Ryan
The Pre Conditions process enforcement might not work in the current version 6.0.4 and earlier.
I see the documentation for 6.0.5 is updated regarding the process enforcement, if you are on a Release Candidate version of 6.0.5 on your jazz.net cloud, you could try the new configurations.
Best Regards
Shubjit
Comments
Ryan McBryde
Nov 06 '17, 4:42 p.m.I was able to get it to work, partially. The Payload URL that I had copied from the IBM instructions was incorrect. I was using: https://ccm/service/com.ibm.team.git.common.internal.IGitHubInvokeService?repoKey=xxxxxxxxxxxxxxxxxx and it was failing. I changed it to include the URL of the RTC server: https://jazz.net/sandbox01-ccm/service/com.ibm.team.git.common.internal.IGitHubInvokeService?repoKey=xxxxxxxxxxxxxxxxxx and it works. Partially. I enable the ""Require Work Item Hint Commit Comment" pre-condition and if I include a WI number in the commit comments it links it to the WI. HOWEVER, it does not fail the commit if a WI # is not included. Thots?
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 07 '17, 5:04 a.m.Ryan, this question got duplicated somehow. See the second version.