[Ci-users] Test results not sent to github PR

Tue May 17 18:18:58 UTC 2016
Honza Horak <hhorak at redhat.com>

On 05/17/2016 06:52 PM, Brian Stinson wrote:
> On May 17 18:46, Honza Horak wrote:
>> I'm fighting with github+jenkins integration; specifically I'd like to make
>> jenkins to run a job [1] for every commit in PR [2] or after writing message
>> '[test]' in this PR. Then I expect the test result to be set in github PR.
>>
>> One issue I see is that when trying to follow [3] and adding
>> 'https://ci.centos.org/ghbrphook', I see 301 response in 'Recent Deliveries'
>> section.
>>
>> Well, when adding [test] comment, the job is run, but the output is not sent
>> into github.
>>
>> I'd appreciate any help here, since I'm quite new to jenkins..
>>
>> [1] https://ci.centos.org/view/SCLo/job/SCLo-mariadb-container-pr/
>> [2] https://github.com/sclorg/mariadb-container/pull/1
>> [3] https://wiki.centos.org/QaWiki/CI/GithubIntegration
>>
>> Honza
>> _______________________________________________
>> Ci-users mailing list
>> Ci-users at centos.org
>> https://lists.centos.org/mailman/listinfo/ci-users
>
> Be sure you have the trailing slash in the webhook url:
>
> https://ci.centos.org/ghbrphook/
>
> I'll update [3] to make sure that's more clear.

I'm afraid it still doesn't work, this is my output in 'Recent Deliveries':

Headers

Cache-Control: must-revalidate,no-cache,no-store
Connection: keep-alive
Content-Length: 1441
Content-Type: text/html;charset=ISO-8859-1
Date: Tue, 17 May 2016 18:18:07 GMT
Server: nginx/1.0.15
X-Content-Type-Options: nosniff

Body

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 403 No valid crumb was included in the request</title>
</head>
<body><h2>HTTP ERROR 403</h2>
<p>Problem accessing /ghbrphook/. Reason:
<pre>    No valid crumb was included in the request</pre></p><hr 
/><i><small>Powered by Jetty://</small></i><br/> 

<br/>

Honza