jenkinsci / jenkinsci/pipeline-github-lib-plugin
[JENKINS-49068] Reuse GitHub branch job's credentials for fetching shared library
- Dominant language
- Java
- Stars
- 10
- Forks
- 15
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
Let's say I have 2 private GitHub repositories, both requiring the same credentials for access. If Jenkins is already building one of the repositories (e.g. with GitHub Branch Source Plugin), it would be very convenient if @Library('github.com/owner/other-repo) _ would just work for fetching shared code from the other repository.
---
Originally reported by deiwin, imported from: Reuse GitHub branch job's credentials for fetching shared library
Raw content of original issue
Let's say I have 2 private GitHub repositories, both requiring the same credentials for access. If Jenkins is already building one of the repositories (e.g. with GitHub Branch Source Plugin), it would be very convenient if @Library('github.com/owner/other-repo) _ would just work for fetching shared code from the other repository.
Contributor guide
Assessment
This issue has not been assessed yet.