Status: Closed (View Workflow)
github-api v1.77 GitHub API Plugin
github-branch-source v1.9 GitHub Branch Source Plugin
github-oauth v0.24 GitHub Authentication plugin
github-organization-folder v1.5 GitHub Organization Folder Plugin
github v1.21.1 GitHub plugin
As a developer, my git repository may be large. The GitHub Org Folder plugin should only fetch the Jenkinsfile, not the whole git repository.
Currently, a git clone is done for every branch of every repository. For teams with a large code base (e.g. a .git directory of 1.7GiB (real example)) this can be bad:
- It can take a very long time.
- It uses a lot of disk space on the Jenkins server.
Instead, I propose we use the raw file download mechanism instead:
We have all the parts needed for this. We can always fall back to git clone if the github server doesn't support the raw.<github-url> interface.