[JIRA] (JENKINS-57153) Allow building forks in addition to main repo and PRs

3 views
Skip to first unread message

lasse.k.lindqvist@gmail.com (JIRA)

unread,
Apr 23, 2019, 4:23:02 AM4/23/19
to jenkinsc...@googlegroups.com
Lasse Lindqvist created an issue
 
Jenkins / New Feature JENKINS-57153
Allow building forks in addition to main repo and PRs
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-04-23 08:22
Priority: Minor Minor
Reporter: Lasse Lindqvist

Add "Discover branches from forks" action to the plugin.

In some cases the workflow is such that developers develop in their own forks and only make PRs to the main repository. In such cases we can only build after a PR has been made. This might lead to a situation where developers are forced to make work-in-progress PRs to get some tests or else run in the CI.

Adding "Discover branches from forks" action to the plugin makes it possible to combine it with Named branches and Regular expression to build branches the developer wants to be built. The "Trust" choice could be used here similarly to the PRs.

This is as safe as building PRs since it would not be on by default and similar defensive measures could be used as can be used with PR building.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bitwiseman@gmail.com (JIRA)

unread,
May 9, 2019, 10:13:01 PM5/9/19
to jenkinsc...@googlegroups.com
Liam Newman commented on New Feature JENKINS-57153
 
Re: Allow building forks in addition to main repo and PRs

Is not quite the same as building PRs. PR commits are ultimately found in the target branch's repo, whereas the fork branches are not.

This can be done, however doing this well would require a good deal of design work to do well.

bitwiseman@gmail.com (JIRA)

unread,
May 9, 2019, 10:14:01 PM5/9/19
to jenkinsc...@googlegroups.com
Liam Newman edited a comment on New Feature JENKINS-57153
Reply all
Reply to author
Forward
0 new messages