Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57153

Allow building forks in addition to main repo and PRs

      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.

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

          Liam Newman added a comment - - edited

          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.

          Liam Newman added a comment - - edited 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.

            Unassigned Unassigned
            lasselindqvist Lasse Lindqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: