Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2654418654 for ; Wed, 29 Jul 2015 11:02:05 +0000 (UTC) Received: (qmail 32255 invoked by uid 500); 29 Jul 2015 11:02:04 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 32164 invoked by uid 500); 29 Jul 2015 11:02:04 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 32150 invoked by uid 99); 29 Jul 2015 11:02:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 11:02:04 +0000 Date: Wed, 29 Jul 2015 11:02:04 +0000 (UTC) From: "Andrew Bayer (JIRA)" To: builds@apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (BUILDS-102) Ability to trigger Jenkins rebuild for GitHub pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BUILDS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645873#comment-14645873 ] Andrew Bayer edited comment on BUILDS-102 at 7/29/15 11:01 AM: --------------------------------------------------------------- Oh, and I think Spark's doing that by using a script that polls for pull requests, rather than triggering via webhooks with the plugin. That could definitely be done on builds.a.o, a la the test patch stuff that Hadoop and friends use (which is becoming the core of the new Yetus project). We could probably work on getting PR polling added to that as well as the existing JIRA polling. was (Author: abayer): Oh, and I think Spark's doing that by using a script that polls for pull requests, rather than triggering via webhooks with the plugin. > Ability to trigger Jenkins rebuild for GitHub pull requests > ----------------------------------------------------------- > > Key: BUILDS-102 > URL: https://issues.apache.org/jira/browse/BUILDS-102 > Project: Infra Build Platform > Issue Type: Improvement > Components: Jenkins > Reporter: Ismael Juma > Assignee: Andrew Bayer > > It would be really useful to be able to trigger a Jenkins rebuild for a GitHub pull request when the build fails due to a transient problem (ie flaky tests and/or environmental issues). Despite our best efforts, it's hard to eliminate all flaky tests from the Kafka codebase (as some are fixed, new ones appear). > This is supported by the open-source GitHub Pull Request Builder Plugin via comments in the pull request itself (e.g. "retest this please" to rebuild, "add to whitelist" to automatically build future pull requests from the submitter, etc.): > https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin > Spark is using this with the AMPLab Jenkins instance: > https://github.com/apache/spark/pull/7613 > https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/38199/consoleFull > The Apache Jenkins instance is using the Jenkins Enterprise GH PR plugin, which doesn't support this functionality (probably based on https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin) because the more featured one required privileges on the GitHub side that the Apache Infra team was not able to give at the time (as explained by [~abayer]). > [~abayer] suggested that he would check if things have changed. The fact that Spark made it work is a good indicator. We also have the option of moving to a separate Jenkins instance (Confluent has offered theirs), but we would prefer to improve the Apache one as that benefits the other projects too. > This was originally discussed in the following thread in the mailing list: > https://mail-archives.apache.org/mod_mbox/www-builds/201507.mbox/%3CCAD5tkZYrrjp4%2BS7a7DBNMZsAXJozB8kopwgGC%3DOLO63aB-4mBg%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)