jenkinsci / jenkinsci/pipeline-github-lib-plugin

[JENKINS-49068] Reuse GitHub branch job's credentials for fetching shared library

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
component:pipeline-github-lib-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): pipeline-github-lib-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20260601-173816

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.