[ 
https://issues.apache.org/jira/browse/BUILDS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Bayer resolved BUILDS-97.
--------------------------------
    Resolution: Fixed

There were a couple things that needed to be changed as described on the blog 
post:

{quote}
Set the “GitHub project” field to the HTTP URL for your repository - 
i.e.,"http://github.com/apache/incubator-brooklyn/"- make sure it ends with 
that trailing slash and doesn’t include .git, etc.
In the Git SCM section of the job configuration, set the repository URL to 
point to the GitHub git:// URL for your repository - i.e., 
git://github.com/apache/incubator-brooklyn.git.
...
Click the “Add” button in “Additional Behaviors” and choose "Strategy for 
choosing what to build”. Make sure the choosing strategy is set to “Build 
commits submitted for validated merge”.
{quote}
After fixing those three things, it works.

> Kafka Jenkins job not triggered by GitHub pull request
> ------------------------------------------------------
>
>                 Key: BUILDS-97
>                 URL: https://issues.apache.org/jira/browse/BUILDS-97
>             Project: Infra Build Platform
>          Issue Type: Task
>            Reporter: Ismael Juma
>            Assignee: Andrew Bayer
>
> Jun Rao has created a Jenkins job for building GitHub pull requests (as per 
> instructions in the [blog 
> post|https://blogs.apache.org/infra/entry/github_pull_request_builds_now]):
> https://builds.apache.org/view/All/job/kafka-trunk-git-pr/
> It doesn't seem to be working. I have just created a pull request and no 
> build is triggered:
> https://github.com/apache/kafka/pull/81
> Note that the two existing builds in the Jenkins job are normal builds from 
> trunk, not pull request builds.
> I was told in HipChat that "PRs automatically trigger a call to 
> builds.apache.org for kafka already".
> Would we be able to get some assistance on this? It may very well be user 
> error, but Jun hasn't been able to figure out and I don't have access to 
> Jenkins. Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to